home *** CD-ROM | disk | FTP | other *** search
Text File | 2007-12-29 | 81.6 KB | 3,272 lines |
-
- /*
- * DO NOT EDIT! This is a generated file.
- *
- * MS IDL (MIDL) definition for VirualBox Main API (COM interfaces)
- * generated from XIDL (XML interface definition).
- *
- * Source : src/VBox/Main/idl/VirtualBox.xidl
- * Generator : src/VBox/Main/idl/midl.xsl
- */
-
- import "unknwn.idl";
-
- cpp_quote("enum {")
-
- cpp_quote(" kTypeLibraryMajorVersion = 1,")
-
- cpp_quote(" kTypeLibraryMinorVersion = 0")
-
- cpp_quote("};")
-
- [
- uuid(46137EEC-703B-4fe5-AFD4-7C9BBBBA0259),
- version(1.3),
- helpstring("innotek VirtualBox Type Library")
- ]
- library VirtualBox
- {
-
- importlib("stdole2.tlb");
-
- interface IVirtualBoxErrorInfo;
- interface IVirtualBoxCallback;
- interface IVirtualBox;
- interface IMachineEnumerator;
- interface IMachineCollection;
- interface IInternalMachineControl;
- interface IBIOSSettings;
- interface IMachine;
- interface IConsoleCallback;
- interface IRemoteDisplayInfo;
- interface IConsole;
- interface IHostDVDDrive;
- interface IHostDVDDriveEnumerator;
- interface IHostDVDDriveCollection;
- interface IHostFloppyDrive;
- interface IHostFloppyDriveEnumerator;
- interface IHostFloppyDriveCollection;
- interface IHostNetworkInterface;
- interface IHostNetworkInterfaceEnumerator;
- interface IHostNetworkInterfaceCollection;
- interface IHost;
- interface ISystemProperties;
- interface IGuestOSType;
- interface IGuestOSTypeEnumerator;
- interface IGuestOSTypeCollection;
- interface IGuest;
- interface IProgressEnumerator;
- interface IProgressCollection;
- interface IProgress;
- interface ISnapshotEnumerator;
- interface ISnapshotCollection;
- interface ISnapshot;
- interface IHardDiskAttachment;
- interface IHardDiskAttachmentEnumerator;
- interface IHardDiskAttachmentCollection;
- interface IHardDiskEnumerator;
- interface IHardDiskCollection;
- interface IHardDisk;
- interface IVirtualDiskImage;
- interface IISCSIHardDisk;
- interface IVMDKImage;
- interface IDVDImageEnumerator;
- interface IDVDImageCollection;
- interface IDVDImage;
- interface IDVDDrive;
- interface IFloppyImageEnumerator;
- interface IFloppyImageCollection;
- interface IFloppyImage;
- interface IFloppyDrive;
- interface IKeyboard;
- interface IMouse;
- interface IFramebuffer;
- interface IFramebufferOverlay;
- interface IDisplay;
- interface INetworkAdapter;
- interface ISerialPort;
- interface IParallelPort;
- interface IMachineDebugger;
- interface IUSBController;
- interface IUSBDeviceEnumerator;
- interface IUSBDeviceCollection;
- interface IUSBDevice;
- interface IUSBDeviceFilterEnumerator;
- interface IUSBDeviceFilterCollection;
- interface IUSBDeviceFilter;
- interface IHostUSBDeviceEnumerator;
- interface IHostUSBDeviceCollection;
- interface IHostUSBDevice;
- interface IHostUSBDeviceFilterEnumerator;
- interface IHostUSBDeviceFilterCollection;
- interface IHostUSBDeviceFilter;
- interface IAudioAdapter;
- interface IVRDPServer;
- interface ISharedFolderEnumerator;
- interface ISharedFolderCollection;
- interface ISharedFolder;
- interface IInternalSessionControl;
- interface ISession;
-
- [
- uuid(523ff64d-842a-4b1a-80e7-c311b028cb3a),
- v1_enum
- ]
- typedef enum
- {
- False = 0,
- True = 1,
- Default = 2
- } TriStateBool;
-
- /* cross-platform type name for TriStateBool */
- cpp_quote("#define TriStateBool_T TriStateBool")
-
- cpp_quote("")
- /* cross-platform constants for TriStateBool */
- cpp_quote("#define TriStateBool_False False")
- cpp_quote("#define TriStateBool_True True")
- cpp_quote("#define TriStateBool_Default Default")
- cpp_quote("")
-
-
- [
- uuid(73bf04d0-7c4f-4684-9abf-d65a9ad74343),
- v1_enum
- ]
- typedef enum
- {
- InvalidMachineState = 0,
- PoweredOff = 1,
- Saved = 2,
- Aborted = 3,
- Running = 4,
- Paused = 5,
- Stuck = 6,
- Starting = 7,
- Stopping = 8,
- Saving = 9,
- Restoring = 10,
- Discarding = 11
- } MachineState;
-
- /* cross-platform type name for MachineState */
- cpp_quote("#define MachineState_T MachineState")
-
- cpp_quote("")
- /* cross-platform constants for MachineState */
- cpp_quote("#define MachineState_InvalidMachineState InvalidMachineState")
- cpp_quote("#define MachineState_PoweredOff PoweredOff")
- cpp_quote("#define MachineState_Saved Saved")
- cpp_quote("#define MachineState_Aborted Aborted")
- cpp_quote("#define MachineState_Running Running")
- cpp_quote("#define MachineState_Paused Paused")
- cpp_quote("#define MachineState_Stuck Stuck")
- cpp_quote("#define MachineState_Starting Starting")
- cpp_quote("#define MachineState_Stopping Stopping")
- cpp_quote("#define MachineState_Saving Saving")
- cpp_quote("#define MachineState_Restoring Restoring")
- cpp_quote("#define MachineState_Discarding Discarding")
- cpp_quote("")
-
-
- [
- uuid(CF2700C0-EA4B-47ae-9725-7810114B94D8),
- v1_enum
- ]
- typedef enum
- {
- InvalidSessionState = 0,
- SessionClosed = 1,
- SessionOpen = 2,
- SessionSpawning = 3,
- SessionClosing = 4
- } SessionState;
-
- /* cross-platform type name for SessionState */
- cpp_quote("#define SessionState_T SessionState")
-
- cpp_quote("")
- /* cross-platform constants for SessionState */
- cpp_quote("#define SessionState_InvalidSessionState InvalidSessionState")
- cpp_quote("#define SessionState_SessionClosed SessionClosed")
- cpp_quote("#define SessionState_SessionOpen SessionOpen")
- cpp_quote("#define SessionState_SessionSpawning SessionSpawning")
- cpp_quote("#define SessionState_SessionClosing SessionClosing")
- cpp_quote("")
-
-
- [
- uuid(A13C02CB-0C2C-421E-8317-AC0E8AAA153A),
- v1_enum
- ]
- typedef enum
- {
- InvalidSessionType = 0,
- DirectSession = 1,
- RemoteSession = 2,
- ExistingSession = 3
- } SessionType;
-
- /* cross-platform type name for SessionType */
- cpp_quote("#define SessionType_T SessionType")
-
- cpp_quote("")
- /* cross-platform constants for SessionType */
- cpp_quote("#define SessionType_InvalidSessionType InvalidSessionType")
- cpp_quote("#define SessionType_DirectSession DirectSession")
- cpp_quote("#define SessionType_RemoteSession RemoteSession")
- cpp_quote("#define SessionType_ExistingSession ExistingSession")
- cpp_quote("")
-
-
- [
- uuid(6d9420f7-0b56-4636-99f9-7346f1b01e57),
- v1_enum
- ]
- typedef enum
- {
- NoDevice = 0,
- FloppyDevice = 1,
- DVDDevice = 2,
- HardDiskDevice = 3,
- NetworkDevice = 4,
- USBDevice = 5,
- SharedFolderDevice = 6
- } DeviceType;
-
- /* cross-platform type name for DeviceType */
- cpp_quote("#define DeviceType_T DeviceType")
-
- cpp_quote("")
- /* cross-platform constants for DeviceType */
- cpp_quote("#define DeviceType_NoDevice NoDevice")
- cpp_quote("#define DeviceType_FloppyDevice FloppyDevice")
- cpp_quote("#define DeviceType_DVDDevice DVDDevice")
- cpp_quote("#define DeviceType_HardDiskDevice HardDiskDevice")
- cpp_quote("#define DeviceType_NetworkDevice NetworkDevice")
- cpp_quote("#define DeviceType_USBDevice USBDevice")
- cpp_quote("#define DeviceType_SharedFolderDevice SharedFolderDevice")
- cpp_quote("")
-
-
- [
- uuid(6FC8AEAA-130A-4eb5-8954-3F921422D707),
- v1_enum
- ]
- typedef enum
- {
- InvalidActivity = 0,
- DeviceIdle = 1,
- DeviceReading = 2,
- DeviceWriting = 3
- } DeviceActivity;
-
- /* cross-platform type name for DeviceActivity */
- cpp_quote("#define DeviceActivity_T DeviceActivity")
-
- cpp_quote("")
- /* cross-platform constants for DeviceActivity */
- cpp_quote("#define DeviceActivity_InvalidActivity InvalidActivity")
- cpp_quote("#define DeviceActivity_DeviceIdle DeviceIdle")
- cpp_quote("#define DeviceActivity_DeviceReading DeviceReading")
- cpp_quote("#define DeviceActivity_DeviceWriting DeviceWriting")
- cpp_quote("")
-
-
- [
- uuid(FC56E4B6-B195-48e2-A5E1-A667B0D9F809),
- v1_enum
- ]
- typedef enum
- {
- InvalidUsage = 0,
- PermanentUsage = 1,
- TemporaryUsage = 2,
- AllUsage = 3
- } ResourceUsage;
-
- /* cross-platform type name for ResourceUsage */
- cpp_quote("#define ResourceUsage_T ResourceUsage")
-
- cpp_quote("")
- /* cross-platform constants for ResourceUsage */
- cpp_quote("#define ResourceUsage_InvalidUsage InvalidUsage")
- cpp_quote("#define ResourceUsage_PermanentUsage PermanentUsage")
- cpp_quote("#define ResourceUsage_TemporaryUsage TemporaryUsage")
- cpp_quote("#define ResourceUsage_AllUsage AllUsage")
- cpp_quote("")
-
-
- [
- uuid(1115b810-2ee7-4ebd-8b39-92e98c9a2b48),
- v1_enum
- ]
- typedef enum
- {
- InvalidController = 0,
- IDE0Controller = 1,
- IDE1Controller = 2
- } DiskControllerType;
-
- /* cross-platform type name for DiskControllerType */
- cpp_quote("#define DiskControllerType_T DiskControllerType")
-
- cpp_quote("")
- /* cross-platform constants for DiskControllerType */
- cpp_quote("#define DiskControllerType_InvalidController InvalidController")
- cpp_quote("#define DiskControllerType_IDE0Controller IDE0Controller")
- cpp_quote("#define DiskControllerType_IDE1Controller IDE1Controller")
- cpp_quote("")
-
-
- [
- uuid(33364716-4008-4701-8f14-be0fa3d62950),
- v1_enum
- ]
- typedef enum
- {
- ClipDisabled = 0,
- ClipHostToGuest = 1,
- ClipGuestToHost = 2,
- ClipBidirectional = 3
- } ClipboardMode;
-
- /* cross-platform type name for ClipboardMode */
- cpp_quote("#define ClipboardMode_T ClipboardMode")
-
- cpp_quote("")
- /* cross-platform constants for ClipboardMode */
- cpp_quote("#define ClipboardMode_ClipDisabled ClipDisabled")
- cpp_quote("#define ClipboardMode_ClipHostToGuest ClipHostToGuest")
- cpp_quote("#define ClipboardMode_ClipGuestToHost ClipGuestToHost")
- cpp_quote("#define ClipboardMode_ClipBidirectional ClipBidirectional")
- cpp_quote("")
-
-
- [
- uuid(7c91096e-499e-4eca-9f9b-9001438d7855),
- v1_enum
- ]
- typedef enum
- {
- GlobalScope = 0,
- MachineScope = 1,
- SessionScope = 2
- } Scope;
-
- /* cross-platform type name for Scope */
- cpp_quote("#define Scope_T Scope")
-
- cpp_quote("")
- /* cross-platform constants for Scope */
- cpp_quote("#define Scope_GlobalScope GlobalScope")
- cpp_quote("#define Scope_MachineScope MachineScope")
- cpp_quote("#define Scope_SessionScope SessionScope")
- cpp_quote("")
-
-
- [
- uuid(da89a1b7-e602-45ac-84b7-29c9d12b92d5),
- v1_enum
- ]
- typedef enum
- {
- CPULoad = 0,
- Threads = 1,
- Processes = 2,
- PhysMemTotal = 3,
- PhysMemAvailable = 4,
- PageFileSize = 5
- } GuestStatisticType;
-
- /* cross-platform type name for GuestStatisticType */
- cpp_quote("#define GuestStatisticType_T GuestStatisticType")
-
- cpp_quote("")
- /* cross-platform constants for GuestStatisticType */
- cpp_quote("#define GuestStatisticType_CPULoad CPULoad")
- cpp_quote("#define GuestStatisticType_Threads Threads")
- cpp_quote("#define GuestStatisticType_Processes Processes")
- cpp_quote("#define GuestStatisticType_PhysMemTotal PhysMemTotal")
- cpp_quote("#define GuestStatisticType_PhysMemAvailable PhysMemAvailable")
- cpp_quote("#define GuestStatisticType_PageFileSize PageFileSize")
- cpp_quote("")
-
-
- [
- uuid(ae4fb9f7-29d2-45b4-b2c7-d579603135d5),
- v1_enum
- ]
- typedef enum
- {
- Disabled = 0,
- MenuOnly = 1,
- MessageAndMenu = 2
- } BIOSBootMenuMode;
-
- /* cross-platform type name for BIOSBootMenuMode */
- cpp_quote("#define BIOSBootMenuMode_T BIOSBootMenuMode")
-
- cpp_quote("")
- /* cross-platform constants for BIOSBootMenuMode */
- cpp_quote("#define BIOSBootMenuMode_Disabled Disabled")
- cpp_quote("#define BIOSBootMenuMode_MenuOnly MenuOnly")
- cpp_quote("#define BIOSBootMenuMode_MessageAndMenu MessageAndMenu")
- cpp_quote("")
-
-
- [
- uuid(48138584-ad99-479d-a36f-eb82a7663685),
- v1_enum
- ]
- typedef enum
- {
- VirtualDiskImage = 0,
- ISCSIHardDisk = 1,
- VMDKImage = 2
- } HardDiskStorageType;
-
- /* cross-platform type name for HardDiskStorageType */
- cpp_quote("#define HardDiskStorageType_T HardDiskStorageType")
-
- cpp_quote("")
- /* cross-platform constants for HardDiskStorageType */
- cpp_quote("#define HardDiskStorageType_VirtualDiskImage VirtualDiskImage")
- cpp_quote("#define HardDiskStorageType_ISCSIHardDisk ISCSIHardDisk")
- cpp_quote("#define HardDiskStorageType_VMDKImage VMDKImage")
- cpp_quote("")
-
-
- [
- uuid(a348fafd-a64e-4643-ba65-eb3896bd7e0a),
- v1_enum
- ]
- typedef enum
- {
- NormalHardDisk = 0,
- ImmutableHardDisk = 1,
- WritethroughHardDisk = 2
- } HardDiskType;
-
- /* cross-platform type name for HardDiskType */
- cpp_quote("#define HardDiskType_T HardDiskType")
-
- cpp_quote("")
- /* cross-platform constants for HardDiskType */
- cpp_quote("#define HardDiskType_NormalHardDisk NormalHardDisk")
- cpp_quote("#define HardDiskType_ImmutableHardDisk ImmutableHardDisk")
- cpp_quote("#define HardDiskType_WritethroughHardDisk WritethroughHardDisk")
- cpp_quote("")
-
-
- [
- uuid(cb7233b7-c519-42a5-8310-1830953cacbc),
- v1_enum
- ]
- typedef enum
- {
- InvalidDriveState = 0,
- NotMounted = 1,
- ImageMounted = 2,
- HostDriveCaptured = 3
- } DriveState;
-
- /* cross-platform type name for DriveState */
- cpp_quote("#define DriveState_T DriveState")
-
- cpp_quote("")
- /* cross-platform constants for DriveState */
- cpp_quote("#define DriveState_InvalidDriveState InvalidDriveState")
- cpp_quote("#define DriveState_NotMounted NotMounted")
- cpp_quote("#define DriveState_ImageMounted ImageMounted")
- cpp_quote("#define DriveState_HostDriveCaptured HostDriveCaptured")
- cpp_quote("")
-
-
- [
- uuid(03131722-2EC5-4173-9794-0DACA46673EF),
- v1_enum
- ]
- typedef enum
- {
- LeftButton = 0x01,
- RightButton = 0x02,
- MiddleButton = 0x04,
- WheelUp = 0x08,
- WheelDown = 0x10,
- MouseStateMask = 0x1F
- } MouseButtonState;
-
- /* cross-platform type name for MouseButtonState */
- cpp_quote("#define MouseButtonState_T MouseButtonState")
-
- cpp_quote("")
- /* cross-platform constants for MouseButtonState */
- cpp_quote("#define MouseButtonState_LeftButton LeftButton")
- cpp_quote("#define MouseButtonState_RightButton RightButton")
- cpp_quote("#define MouseButtonState_MiddleButton MiddleButton")
- cpp_quote("#define MouseButtonState_WheelUp WheelUp")
- cpp_quote("#define MouseButtonState_WheelDown WheelDown")
- cpp_quote("#define MouseButtonState_MouseStateMask MouseStateMask")
- cpp_quote("")
-
-
- [
- uuid(f0e5ebbe-dc8e-4e2d-916e-53baa3844df8),
- v1_enum
- ]
- typedef enum
- {
- SolidFillAcceleration = 1,
- ScreenCopyAcceleration = 2
- } FramebufferAccelerationOperation;
-
- /* cross-platform type name for FramebufferAccelerationOperation */
- cpp_quote("#define FramebufferAccelerationOperation_T FramebufferAccelerationOperation")
-
- cpp_quote("")
- /* cross-platform constants for FramebufferAccelerationOperation */
- cpp_quote("#define FramebufferAccelerationOperation_SolidFillAcceleration SolidFillAcceleration")
- cpp_quote("#define FramebufferAccelerationOperation_ScreenCopyAcceleration ScreenCopyAcceleration")
- cpp_quote("")
-
-
- [
- uuid(6b27d1fc-4f2c-4e9c-a166-01d06540305d),
- v1_enum
- ]
- typedef enum
- {
- PixelFormatOpaque = 0xFFFFFFFF,
- FOURCC_RGB = 0x32424752
- } FramebufferPixelFormat;
-
- /* cross-platform type name for FramebufferPixelFormat */
- cpp_quote("#define FramebufferPixelFormat_T FramebufferPixelFormat")
-
- cpp_quote("")
- /* cross-platform constants for FramebufferPixelFormat */
- cpp_quote("#define FramebufferPixelFormat_PixelFormatOpaque PixelFormatOpaque")
- cpp_quote("#define FramebufferPixelFormat_FOURCC_RGB FOURCC_RGB")
- cpp_quote("")
-
-
- [
- uuid(8730d899-d036-4925-bc63-e58f3486f4bf),
- v1_enum
- ]
- typedef enum
- {
- NoNetworkAttachment = 0,
- NATNetworkAttachment = 1,
- HostInterfaceNetworkAttachment = 2,
- InternalNetworkAttachment = 3
- } NetworkAttachmentType;
-
- /* cross-platform type name for NetworkAttachmentType */
- cpp_quote("#define NetworkAttachmentType_T NetworkAttachmentType")
-
- cpp_quote("")
- /* cross-platform constants for NetworkAttachmentType */
- cpp_quote("#define NetworkAttachmentType_NoNetworkAttachment NoNetworkAttachment")
- cpp_quote("#define NetworkAttachmentType_NATNetworkAttachment NATNetworkAttachment")
- cpp_quote("#define NetworkAttachmentType_HostInterfaceNetworkAttachment HostInterfaceNetworkAttachment")
- cpp_quote("#define NetworkAttachmentType_InternalNetworkAttachment InternalNetworkAttachment")
- cpp_quote("")
-
-
- [
- uuid(156b17b9-5d61-4d54-be90-62e37dda848d),
- v1_enum
- ]
- typedef enum
- {
- InvalidNetworkAdapterType = 0,
- NetworkAdapterAm79C970A = 1,
- NetworkAdapterAm79C973 = 2
- } NetworkAdapterType;
-
- /* cross-platform type name for NetworkAdapterType */
- cpp_quote("#define NetworkAdapterType_T NetworkAdapterType")
-
- cpp_quote("")
- /* cross-platform constants for NetworkAdapterType */
- cpp_quote("#define NetworkAdapterType_InvalidNetworkAdapterType InvalidNetworkAdapterType")
- cpp_quote("#define NetworkAdapterType_NetworkAdapterAm79C970A NetworkAdapterAm79C970A")
- cpp_quote("#define NetworkAdapterType_NetworkAdapterAm79C973 NetworkAdapterAm79C973")
- cpp_quote("")
-
-
- [
- uuid(b266f43c-2e93-46b3-812b-c20e600e867b),
- v1_enum
- ]
- typedef enum
- {
- DisconnectedPort = 0,
- HostPipePort = 1,
- HostDevicePort = 2
- } PortMode;
-
- /* cross-platform type name for PortMode */
- cpp_quote("#define PortMode_T PortMode")
-
- cpp_quote("")
- /* cross-platform constants for PortMode */
- cpp_quote("#define PortMode_DisconnectedPort DisconnectedPort")
- cpp_quote("#define PortMode_HostPipePort HostPipePort")
- cpp_quote("#define PortMode_HostDevicePort HostDevicePort")
- cpp_quote("")
-
-
- [
- uuid(b99a2e65-67fb-4882-82fd-f3e5e8193ab4),
- v1_enum
- ]
- typedef enum
- {
- USBDeviceNotSupported = 0,
- USBDeviceUnavailable = 1,
- USBDeviceBusy = 2,
- USBDeviceAvailable = 3,
- USBDeviceHeld = 4,
- USBDeviceCaptured = 5
- } USBDeviceState;
-
- /* cross-platform type name for USBDeviceState */
- cpp_quote("#define USBDeviceState_T USBDeviceState")
-
- cpp_quote("")
- /* cross-platform constants for USBDeviceState */
- cpp_quote("#define USBDeviceState_USBDeviceNotSupported USBDeviceNotSupported")
- cpp_quote("#define USBDeviceState_USBDeviceUnavailable USBDeviceUnavailable")
- cpp_quote("#define USBDeviceState_USBDeviceBusy USBDeviceBusy")
- cpp_quote("#define USBDeviceState_USBDeviceAvailable USBDeviceAvailable")
- cpp_quote("#define USBDeviceState_USBDeviceHeld USBDeviceHeld")
- cpp_quote("#define USBDeviceState_USBDeviceCaptured USBDeviceCaptured")
- cpp_quote("")
-
-
- [
- uuid(cbc30a49-2f4e-43b5-9da6-121320475933),
- v1_enum
- ]
- typedef enum
- {
- InvalidUSBDeviceFilterAction = 0,
- USBDeviceFilterIgnore = 1,
- USBDeviceFilterHold = 2
- } USBDeviceFilterAction;
-
- /* cross-platform type name for USBDeviceFilterAction */
- cpp_quote("#define USBDeviceFilterAction_T USBDeviceFilterAction")
-
- cpp_quote("")
- /* cross-platform constants for USBDeviceFilterAction */
- cpp_quote("#define USBDeviceFilterAction_InvalidUSBDeviceFilterAction InvalidUSBDeviceFilterAction")
- cpp_quote("#define USBDeviceFilterAction_USBDeviceFilterIgnore USBDeviceFilterIgnore")
- cpp_quote("#define USBDeviceFilterAction_USBDeviceFilterHold USBDeviceFilterHold")
- cpp_quote("")
-
-
- [
- uuid(4bcc3d73-c2fe-40db-b72f-0c2ca9d68496),
- v1_enum
- ]
- typedef enum
- {
- NullAudioDriver = 0,
- WINMMAudioDriver = 1,
- OSSAudioDriver = 2,
- ALSAAudioDriver = 3,
- DSOUNDAudioDriver = 4,
- CoreAudioDriver = 5,
- MMPMAudioDriver = 6,
- PulseAudioDriver = 7
- } AudioDriverType;
-
- /* cross-platform type name for AudioDriverType */
- cpp_quote("#define AudioDriverType_T AudioDriverType")
-
- cpp_quote("")
- /* cross-platform constants for AudioDriverType */
- cpp_quote("#define AudioDriverType_NullAudioDriver NullAudioDriver")
- cpp_quote("#define AudioDriverType_WINMMAudioDriver WINMMAudioDriver")
- cpp_quote("#define AudioDriverType_OSSAudioDriver OSSAudioDriver")
- cpp_quote("#define AudioDriverType_ALSAAudioDriver ALSAAudioDriver")
- cpp_quote("#define AudioDriverType_DSOUNDAudioDriver DSOUNDAudioDriver")
- cpp_quote("#define AudioDriverType_CoreAudioDriver CoreAudioDriver")
- cpp_quote("#define AudioDriverType_MMPMAudioDriver MMPMAudioDriver")
- cpp_quote("#define AudioDriverType_PulseAudioDriver PulseAudioDriver")
- cpp_quote("")
-
-
- [
- uuid(3d91887a-b67f-4b33-85bf-2da7ab1ea83a),
- v1_enum
- ]
- typedef enum
- {
- VRDPAuthNull = 0,
- VRDPAuthExternal = 1,
- VRDPAuthGuest = 2
- } VRDPAuthType;
-
- /* cross-platform type name for VRDPAuthType */
- cpp_quote("#define VRDPAuthType_T VRDPAuthType")
-
- cpp_quote("")
- /* cross-platform constants for VRDPAuthType */
- cpp_quote("#define VRDPAuthType_VRDPAuthNull VRDPAuthNull")
- cpp_quote("#define VRDPAuthType_VRDPAuthExternal VRDPAuthExternal")
- cpp_quote("#define VRDPAuthType_VRDPAuthGuest VRDPAuthGuest")
- cpp_quote("")
-
-
- [
- uuid(e98b5376-8eb4-4eea-812a-3964bf3bb26f),
- object,
- dual
- ]
- interface IVirtualBoxErrorInfo : IErrorInfo
- {
- [propget] HRESULT ResultCode ([out, retval] HRESULT * aResultCode);
-
- [propget] HRESULT InterfaceID ([out, retval] GUID * aInterfaceID);
-
- [propget] HRESULT Component ([out, retval] BSTR * aComponent);
-
- [propget] HRESULT Text ([out, retval] BSTR * aText);
-
- [propget] HRESULT Next ([out, retval] IVirtualBoxErrorInfo * * aNext);
-
- }; /* interface IVirtualBoxErrorInfo */
-
- [
- uuid(ee95ffc2-b6c6-4ce8-9e9e-ceadbb5019fe),
- object,
- dual
- ]
- interface IVirtualBoxCallback : IUnknown
- {
- HRESULT OnMachineStateChange (
- [in] GUID aMachineId,
- [in] MachineState aState
- );
-
- HRESULT OnMachineDataChange (
- [in] GUID aMachineId
- );
-
- HRESULT OnExtraDataCanChange (
- [in] GUID aMachineId,
- [in] BSTR aKey,
- [in] BSTR aValue,
- [out] BSTR * aError,
- [out, retval] BOOL * aAllowChange
- );
-
- HRESULT OnExtraDataChange (
- [in] GUID aMachineId,
- [in] BSTR aKey,
- [in] BSTR aValue
- );
-
- HRESULT OnMediaRegistered (
- [in] GUID aMediaId,
- [in] DeviceType aMediaType,
- [in] BOOL aRegistered
- );
-
- HRESULT OnMachineRegistered (
- [in] GUID aMachineId,
- [in] BOOL aRegistered
- );
-
- HRESULT OnSessionStateChange (
- [in] GUID aMachineId,
- [in] SessionState aState
- );
-
- HRESULT OnSnapshotTaken (
- [in] GUID aMachineId,
- [in] GUID aSnapshotId
- );
-
- HRESULT OnSnapshotDiscarded (
- [in] GUID aMachineId,
- [in] GUID aSnapshotId
- );
-
- HRESULT OnSnapshotChange (
- [in] GUID aMachineId,
- [in] GUID aSnapshotId
- );
-
- }; /* interface IVirtualBoxCallback */
-
- [
- uuid(76b25f3c-15d4-4785-a9d3-adc6a462beec),
- object,
- dual
- ]
- interface IVirtualBox : IDispatch
- {
- [propget] HRESULT Version ([out, retval] BSTR * aVersion);
-
- [propget] HRESULT HomeFolder ([out, retval] BSTR * aHomeFolder);
-
- [propget] HRESULT Host ([out, retval] IHost * * aHost);
-
- [propget] HRESULT SystemProperties ([out, retval] ISystemProperties * * aSystemProperties);
-
- [propget] HRESULT Machines ([out, retval] IMachineCollection * * aMachines);
-
- [propget] HRESULT HardDisks ([out, retval] IHardDiskCollection * * aHardDisks);
-
- [propget] HRESULT DVDImages ([out, retval] IDVDImageCollection * * aDVDImages);
-
- [propget] HRESULT FloppyImages ([out, retval] IFloppyImageCollection * * aFloppyImages);
-
- [propget] HRESULT ProgressOperations ([out, retval] IProgressCollection * * aProgressOperations);
-
- [propget] HRESULT GuestOSTypes ([out, retval] IGuestOSTypeCollection * * aGuestOSTypes);
-
- [propget] HRESULT SharedFolders ([out, retval] ISharedFolderCollection * * aSharedFolders);
-
- HRESULT CreateMachine (
- [in] BSTR aBaseFolder,
- [in] BSTR aName,
- [out, retval] IMachine * * aMachine
- );
-
- HRESULT CreateLegacyMachine (
- [in] BSTR aSettingsFile,
- [in] BSTR aName,
- [out, retval] IMachine * * aMachine
- );
-
- HRESULT OpenMachine (
- [in] BSTR aSettingsFile,
- [out, retval] IMachine * * aMachine
- );
-
- HRESULT RegisterMachine (
- [in] IMachine * aMachine
- );
-
- HRESULT GetMachine (
- [in] GUID aId,
- [out, retval] IMachine * * aMachine
- );
-
- HRESULT FindMachine (
- [in] BSTR aName,
- [out, retval] IMachine * * aMachine
- );
-
- HRESULT UnregisterMachine (
- [in] GUID aId,
- [out, retval] IMachine * * aMachine
- );
-
- HRESULT CreateHardDisk (
- [in] HardDiskStorageType aStorageType,
- [out, retval] IHardDisk * * aHardDisk
- );
-
- HRESULT OpenHardDisk (
- [in] BSTR aLocation,
- [out, retval] IHardDisk * * aHardDisk
- );
-
- HRESULT OpenVirtualDiskImage (
- [in] BSTR aFilePath,
- [out, retval] IVirtualDiskImage * * aImage
- );
-
- HRESULT RegisterHardDisk (
- [in] IHardDisk * aHardDisk
- );
-
- HRESULT GetHardDisk (
- [in] GUID aId,
- [out, retval] IHardDisk * * aHardDisk
- );
-
- HRESULT FindHardDisk (
- [in] BSTR aLocation,
- [out, retval] IHardDisk * * aHardDisk
- );
-
- HRESULT FindVirtualDiskImage (
- [in] BSTR aFilePath,
- [out, retval] IVirtualDiskImage * * aImage
- );
-
- HRESULT UnregisterHardDisk (
- [in] GUID aId,
- [out, retval] IHardDisk * * aHardDisk
- );
-
- HRESULT OpenDVDImage (
- [in] BSTR aFilePath,
- [in] GUID aId,
- [out, retval] IDVDImage * * aImage
- );
-
- HRESULT RegisterDVDImage (
- [in] IDVDImage * aImage
- );
-
- HRESULT GetDVDImage (
- [in] GUID aId,
- [out, retval] IDVDImage * * aImage
- );
-
- HRESULT FindDVDImage (
- [in] BSTR aFilePath,
- [out, retval] IDVDImage * * aImage
- );
-
- HRESULT GetDVDImageUsage (
- [in] GUID aId,
- [in] ResourceUsage aUsage,
- [out, retval] BSTR * aMachineIDs
- );
-
- HRESULT UnregisterDVDImage (
- [in] GUID aId,
- [out, retval] IDVDImage * * aImage
- );
-
- HRESULT OpenFloppyImage (
- [in] BSTR aFilePath,
- [in] GUID aId,
- [out, retval] IFloppyImage * * aImage
- );
-
- HRESULT RegisterFloppyImage (
- [in] IFloppyImage * aImage
- );
-
- HRESULT GetFloppyImage (
- [in] GUID aId,
- [out, retval] IFloppyImage * * aImage
- );
-
- HRESULT FindFloppyImage (
- [in] BSTR aFilePath,
- [out, retval] IFloppyImage * * aImage
- );
-
- HRESULT GetFloppyImageUsage (
- [in] GUID aId,
- [in] ResourceUsage aUsage,
- [out, retval] BSTR * aMachineIDs
- );
-
- HRESULT UnregisterFloppyImage (
- [in] GUID aId,
- [out, retval] IFloppyImage * * aImage
- );
-
- HRESULT GetGuestOSType (
- [in] BSTR aId,
- [out, retval] IGuestOSType * * aType
- );
-
- HRESULT CreateSharedFolder (
- [in] BSTR aName,
- [in] BSTR aHostPath
- );
-
- HRESULT RemoveSharedFolder (
- [in] BSTR aName
- );
-
- HRESULT GetNextExtraDataKey (
- [in] BSTR aKey,
- [out] BSTR * aNextKey,
- [out] BSTR * aNextValue
- );
-
- HRESULT GetExtraData (
- [in] BSTR aKey,
- [out, retval] BSTR * aValue
- );
-
- HRESULT SetExtraData (
- [in] BSTR aKey,
- [in] BSTR aValue
- );
-
- HRESULT OpenSession (
- [in] ISession * aSession,
- [in] GUID aMachineId
- );
-
- HRESULT OpenRemoteSession (
- [in] ISession * aSession,
- [in] GUID aMachineId,
- [in] BSTR aType,
- [in] BSTR aEnvironment,
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT OpenExistingSession (
- [in] ISession * aSession,
- [in] GUID aMachineId
- );
-
- HRESULT RegisterCallback (
- [in] IVirtualBoxCallback * aCallback
- );
-
- HRESULT UnregisterCallback (
- [in] IVirtualBoxCallback * aCallback
- );
-
- }; /* interface IVirtualBox */
-
- [
- uuid(1b554149-be0a-4465-9252-9ff8f420af55),
- object,
- dual
- ]
- interface IMachineEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IMachine * * next);
-
-
- }; /* interface IMachineEnumerator */
-
- [
- uuid(FD443EC1-3007-4F5B-9282-D72760A66916),
- object,
- dual
- ]
- interface IMachineCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IMachine * * item);
-
- HRESULT Enumerate ([out, retval] IMachineEnumerator * * enumerator);
-
-
- }; /* interface IMachineCollection */
-
- [
- uuid(454d1ff9-7257-40d6-9d7a-1ed8b8c871b2),
- object,
- dual
- ]
- interface IInternalMachineControl : IUnknown
- {
- HRESULT UpdateState (
- [in] MachineState aState
- );
-
- HRESULT GetIPCId (
- [out, retval] BSTR * aId
- );
-
- HRESULT RunUSBDeviceFilters (
- [in] IUSBDevice * aDevice,
- [out] BOOL * aMatched,
- [out] ULONG * aMaskedInterfaces
- );
-
- HRESULT CaptureUSBDevice (
- [in] GUID aId
- );
-
- HRESULT DetachUSBDevice (
- [in] GUID aId,
- [in] BOOL aDone
- );
-
- HRESULT AutoCaptureUSBDevices();
-
- HRESULT DetachAllUSBDevices (
- [in] BOOL aDone
- );
-
- HRESULT OnSessionEnd (
- [in] ISession * aSession,
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT BeginSavingState (
- [in] IProgress * aProgress,
- [out] BSTR * aStateFilePath
- );
-
- HRESULT EndSavingState (
- [in] BOOL aSuccess
- );
-
- HRESULT BeginTakingSnapshot (
- [in] IConsole * aInitiator,
- [in] BSTR aName,
- [in] BSTR aDescription,
- [in] IProgress * aProgress,
- [out] BSTR * aStateFilePath,
- [out] IProgress * * aServerProgress
- );
-
- HRESULT EndTakingSnapshot (
- [in] BOOL aSuccess
- );
-
- HRESULT DiscardSnapshot (
- [in] IConsole * aInitiator,
- [in] GUID aId,
- [out] MachineState * aMachineState,
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT DiscardCurrentState (
- [in] IConsole * aInitiator,
- [out] MachineState * aMachineState,
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT DiscardCurrentSnapshotAndState (
- [in] IConsole * aInitiator,
- [out] MachineState * aMachineState,
- [out, retval] IProgress * * aProgress
- );
-
- }; /* interface IInternalMachineControl */
-
- [
- uuid(38b54279-dc35-4f5e-a431-835b867c6b5e),
- object,
- dual
- ]
- interface IBIOSSettings : IUnknown
- {
- [propget] HRESULT LogoFadeIn ([out, retval] BOOL * aLogoFadeIn);
- [propput] HRESULT LogoFadeIn ([in] BOOL aLogoFadeIn);
-
- [propget] HRESULT LogoFadeOut ([out, retval] BOOL * aLogoFadeOut);
- [propput] HRESULT LogoFadeOut ([in] BOOL aLogoFadeOut);
-
- [propget] HRESULT LogoDisplayTime ([out, retval] ULONG * aLogoDisplayTime);
- [propput] HRESULT LogoDisplayTime ([in] ULONG aLogoDisplayTime);
-
- [propget] HRESULT LogoImagePath ([out, retval] BSTR * aLogoImagePath);
- [propput] HRESULT LogoImagePath ([in] BSTR aLogoImagePath);
-
- [propget] HRESULT BootMenuMode ([out, retval] BIOSBootMenuMode * aBootMenuMode);
- [propput] HRESULT BootMenuMode ([in] BIOSBootMenuMode aBootMenuMode);
-
- [propget] HRESULT ACPIEnabled ([out, retval] BOOL * aACPIEnabled);
- [propput] HRESULT ACPIEnabled ([in] BOOL aACPIEnabled);
-
- [propget] HRESULT IOAPICEnabled ([out, retval] BOOL * aIOAPICEnabled);
- [propput] HRESULT IOAPICEnabled ([in] BOOL aIOAPICEnabled);
-
- [propget] HRESULT TimeOffset ([out, retval] LONG64 * aTimeOffset);
- [propput] HRESULT TimeOffset ([in] LONG64 aTimeOffset);
-
- [propget] HRESULT PXEDebugEnabled ([out, retval] BOOL * aPXEDebugEnabled);
- [propput] HRESULT PXEDebugEnabled ([in] BOOL aPXEDebugEnabled);
-
- }; /* interface IBIOSSettings */
-
- [
- uuid(31f7169f-14da-4c55-8cb6-a3665186e35e),
- object,
- dual
- ]
- interface IMachine : IUnknown
- {
- [propget] HRESULT Parent ([out, retval] IVirtualBox * * aParent);
-
- [propget] HRESULT Accessible ([out, retval] BOOL * aAccessible);
-
- [propget] HRESULT AccessError ([out, retval] IVirtualBoxErrorInfo * * aAccessError);
-
- [propget] HRESULT Name ([out, retval] BSTR * aName);
- [propput] HRESULT Name ([in] BSTR aName);
-
- [propget] HRESULT Description ([out, retval] BSTR * aDescription);
- [propput] HRESULT Description ([in] BSTR aDescription);
-
- [propget] HRESULT Id ([out, retval] GUID * aId);
-
- [propget] HRESULT OSTypeId ([out, retval] BSTR * aOSTypeId);
- [propput] HRESULT OSTypeId ([in] BSTR aOSTypeId);
-
- [propget] HRESULT MemorySize ([out, retval] ULONG * aMemorySize);
- [propput] HRESULT MemorySize ([in] ULONG aMemorySize);
-
- [propget] HRESULT VRAMSize ([out, retval] ULONG * aVRAMSize);
- [propput] HRESULT VRAMSize ([in] ULONG aVRAMSize);
-
- [propget] HRESULT MonitorCount ([out, retval] ULONG * aMonitorCount);
- [propput] HRESULT MonitorCount ([in] ULONG aMonitorCount);
-
- [propget] HRESULT BIOSSettings ([out, retval] IBIOSSettings * * aBIOSSettings);
-
- [propget] HRESULT HWVirtExEnabled ([out, retval] TriStateBool * aHWVirtExEnabled);
- [propput] HRESULT HWVirtExEnabled ([in] TriStateBool aHWVirtExEnabled);
-
- [propget] HRESULT SnapshotFolder ([out, retval] BSTR * aSnapshotFolder);
- [propput] HRESULT SnapshotFolder ([in] BSTR aSnapshotFolder);
-
- [propget] HRESULT VRDPServer ([out, retval] IVRDPServer * * aVRDPServer);
-
- [propget] HRESULT HardDiskAttachments ([out, retval] IHardDiskAttachmentCollection * * aHardDiskAttachments);
-
- [propget] HRESULT DVDDrive ([out, retval] IDVDDrive * * aDVDDrive);
-
- [propget] HRESULT FloppyDrive ([out, retval] IFloppyDrive * * aFloppyDrive);
-
- [propget] HRESULT USBController ([out, retval] IUSBController * * aUSBController);
-
- [propget] HRESULT AudioAdapter ([out, retval] IAudioAdapter * * aAudioAdapter);
-
- [propget] HRESULT SettingsFilePath ([out, retval] BSTR * aSettingsFilePath);
-
- [propget] HRESULT SettingsModified ([out, retval] BOOL * aSettingsModified);
-
- [propget] HRESULT SessionState ([out, retval] SessionState * aSessionState);
-
- [propget] HRESULT SessionType ([out, retval] BSTR * aSessionType);
-
- [propget] HRESULT SessionPid ([out, retval] ULONG * aSessionPid);
-
- [propget] HRESULT State ([out, retval] MachineState * aState);
-
- [propget] HRESULT LastStateChange ([out, retval] LONG64 * aLastStateChange);
-
- [propget] HRESULT StateFilePath ([out, retval] BSTR * aStateFilePath);
-
- [propget] HRESULT LogFolder ([out, retval] BSTR * aLogFolder);
-
- [propget] HRESULT CurrentSnapshot ([out, retval] ISnapshot * * aCurrentSnapshot);
-
- [propget] HRESULT SnapshotCount ([out, retval] ULONG * aSnapshotCount);
-
- [propget] HRESULT CurrentStateModified ([out, retval] BOOL * aCurrentStateModified);
-
- [propget] HRESULT SharedFolders ([out, retval] ISharedFolderCollection * * aSharedFolders);
-
- [propget] HRESULT ClipboardMode ([out, retval] ClipboardMode * aClipboardMode);
- [propput] HRESULT ClipboardMode ([in] ClipboardMode aClipboardMode);
-
- HRESULT SetBootOrder (
- [in] ULONG aPosition,
- [in] DeviceType aDevice
- );
-
- HRESULT GetBootOrder (
- [in] ULONG aOrder,
- [out, retval] DeviceType * aDevice
- );
-
- HRESULT AttachHardDisk (
- [in] GUID aDiskID,
- [in] DiskControllerType aController,
- [in] LONG aDevice
- );
-
- HRESULT GetHardDisk (
- [in] DiskControllerType aController,
- [in] LONG aDeviceNumber,
- [out, retval] IHardDisk * * aHardDisk
- );
-
- HRESULT DetachHardDisk (
- [in] DiskControllerType aController,
- [in] LONG aDevice
- );
-
- HRESULT GetNetworkAdapter (
- [in] ULONG aSlot,
- [out, retval] INetworkAdapter * * aAdapter
- );
-
- HRESULT GetSerialPort (
- [in] ULONG aSlot,
- [out, retval] ISerialPort * * aPort
- );
-
- HRESULT GetParallelPort (
- [in] ULONG aSlot,
- [out, retval] IParallelPort * * aPort
- );
-
- HRESULT GetNextExtraDataKey (
- [in] BSTR aKey,
- [out] BSTR * aNextKey,
- [out] BSTR * aNextValue
- );
-
- HRESULT GetExtraData (
- [in] BSTR aKey,
- [out, retval] BSTR * aValue
- );
-
- HRESULT SetExtraData (
- [in] BSTR aKey,
- [in] BSTR aValue
- );
-
- HRESULT SaveSettings();
-
- HRESULT DiscardSettings();
-
- HRESULT DeleteSettings();
-
- HRESULT GetSnapshot (
- [in] GUID aId,
- [out, retval] ISnapshot * * aSnapshot
- );
-
- HRESULT FindSnapshot (
- [in] BSTR aName,
- [out, retval] ISnapshot * * aSnapshot
- );
-
- HRESULT SetCurrentSnapshot (
- [in] GUID aId
- );
-
- HRESULT CreateSharedFolder (
- [in] BSTR aName,
- [in] BSTR aHostPath
- );
-
- HRESULT RemoveSharedFolder (
- [in] BSTR aName
- );
-
- HRESULT CanShowConsoleWindow (
- [out, retval] BOOL * aCanShow
- );
-
- HRESULT ShowConsoleWindow (
- [out, retval] ULONG64 * aWinId
- );
-
- }; /* interface IMachine */
-
- [
- uuid(13dfbef3-b74d-487d-bada-2304529aefa6),
- object,
- dual
- ]
- interface IConsoleCallback : IUnknown
- {
- HRESULT OnMousePointerShapeChange (
- [in] BOOL aVisible,
- [in] BOOL aAlpha,
- [in] ULONG aXHot,
- [in] ULONG aYHot,
- [in] ULONG aWidth,
- [in] ULONG aHeight,
- [in] BYTE * aShape
- );
-
- HRESULT OnMouseCapabilityChange (
- [in] BOOL aSupportsAbsolute,
- [in] BOOL aNeedsHostCursor
- );
-
- HRESULT OnKeyboardLedsChange (
- [in] BOOL aNumLock,
- [in] BOOL aCapsLock,
- [in] BOOL aScrollLock
- );
-
- HRESULT OnStateChange (
- [in] MachineState aState
- );
-
- HRESULT OnAdditionsStateChange();
-
- HRESULT OnDVDDriveChange();
-
- HRESULT OnFloppyDriveChange();
-
- HRESULT OnNetworkAdapterChange (
- [in] INetworkAdapter * aNetworkAdapter
- );
-
- HRESULT OnSerialPortChange (
- [in] ISerialPort * aSerialPort
- );
-
- HRESULT OnParallelPortChange (
- [in] IParallelPort * aParallelPort
- );
-
- HRESULT OnVRDPServerChange();
-
- HRESULT OnUSBControllerChange();
-
- HRESULT OnUSBDeviceStateChange (
- [in] IUSBDevice * aDevice,
- [in] BOOL aAttached,
- [in] IVirtualBoxErrorInfo * aError
- );
-
- HRESULT OnSharedFolderChange (
- [in] Scope aScope
- );
-
- HRESULT OnRuntimeError (
- [in] BOOL aFatal,
- [in] BSTR aId,
- [in] BSTR aMessage
- );
-
- HRESULT OnCanShowWindow (
- [out, retval] BOOL * aCanShow
- );
-
- HRESULT OnShowWindow (
- [out, retval] ULONG64 * aWinId
- );
-
- }; /* interface IConsoleCallback */
-
- [
- uuid(550104cd-2dfd-4a6c-857d-f6f8e088e62c),
- object,
- dual
- ]
- interface IRemoteDisplayInfo : IUnknown
- {
- [propget] HRESULT Active ([out, retval] BOOL * aActive);
-
- [propget] HRESULT NumberOfClients ([out, retval] ULONG * aNumberOfClients);
-
- [propget] HRESULT BeginTime ([out, retval] LONG64 * aBeginTime);
-
- [propget] HRESULT EndTime ([out, retval] LONG64 * aEndTime);
-
- [propget] HRESULT BytesSent ([out, retval] ULONG64 * aBytesSent);
-
- [propget] HRESULT BytesSentTotal ([out, retval] ULONG64 * aBytesSentTotal);
-
- [propget] HRESULT BytesReceived ([out, retval] ULONG64 * aBytesReceived);
-
- [propget] HRESULT BytesReceivedTotal ([out, retval] ULONG64 * aBytesReceivedTotal);
-
- [propget] HRESULT User ([out, retval] BSTR * aUser);
-
- [propget] HRESULT Domain ([out, retval] BSTR * aDomain);
-
- [propget] HRESULT ClientName ([out, retval] BSTR * aClientName);
-
- [propget] HRESULT ClientIP ([out, retval] BSTR * aClientIP);
-
- [propget] HRESULT ClientVersion ([out, retval] ULONG * aClientVersion);
-
- [propget] HRESULT EncryptionStyle ([out, retval] ULONG * aEncryptionStyle);
-
- }; /* interface IRemoteDisplayInfo */
-
- [
- uuid(1DEA5C4B-0753-4193-B909-22330F64EC45),
- object,
- dual
- ]
- interface IConsole : IUnknown
- {
- [propget] HRESULT Machine ([out, retval] IMachine * * aMachine);
-
- [propget] HRESULT State ([out, retval] MachineState * aState);
-
- [propget] HRESULT Guest ([out, retval] IGuest * * aGuest);
-
- [propget] HRESULT Keyboard ([out, retval] IKeyboard * * aKeyboard);
-
- [propget] HRESULT Mouse ([out, retval] IMouse * * aMouse);
-
- [propget] HRESULT Display ([out, retval] IDisplay * * aDisplay);
-
- [propget] HRESULT Debugger ([out, retval] IMachineDebugger * * aDebugger);
-
- [propget] HRESULT USBDevices ([out, retval] IUSBDeviceCollection * * aUSBDevices);
-
- [propget] HRESULT RemoteUSBDevices ([out, retval] IHostUSBDeviceCollection * * aRemoteUSBDevices);
-
- [propget] HRESULT SharedFolders ([out, retval] ISharedFolderCollection * * aSharedFolders);
-
- [propget] HRESULT RemoteDisplayInfo ([out, retval] IRemoteDisplayInfo * * aRemoteDisplayInfo);
-
- HRESULT PowerUp (
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT PowerDown();
-
- HRESULT Reset();
-
- HRESULT Pause();
-
- HRESULT Resume();
-
- HRESULT PowerButton();
-
- HRESULT SleepButton();
-
- HRESULT SaveState (
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT DiscardSavedState();
-
- HRESULT GetDeviceActivity (
- [in] DeviceType aType,
- [out, retval] DeviceActivity * aActivity
- );
-
- HRESULT AttachUSBDevice (
- [in] GUID aId
- );
-
- HRESULT DetachUSBDevice (
- [in] GUID aId,
- [out, retval] IUSBDevice * * aDevice
- );
-
- HRESULT CreateSharedFolder (
- [in] BSTR aName,
- [in] BSTR aHostPath
- );
-
- HRESULT RemoveSharedFolder (
- [in] BSTR aName
- );
-
- HRESULT TakeSnapshot (
- [in] BSTR aName,
- [in] BSTR aDescription,
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT DiscardSnapshot (
- [in] GUID aId,
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT DiscardCurrentState (
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT DiscardCurrentSnapshotAndState (
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT RegisterCallback (
- [in] IConsoleCallback * aCallback
- );
-
- HRESULT UnregisterCallback (
- [in] IConsoleCallback * aCallback
- );
-
- }; /* interface IConsole */
-
- [
- uuid(21f86694-202d-4ce4-8b05-a63ff82dbf4c),
- object,
- dual
- ]
- interface IHostDVDDrive : IUnknown
- {
- [propget] HRESULT Name ([out, retval] BSTR * aName);
-
- [propget] HRESULT Description ([out, retval] BSTR * aDescription);
-
- [propget] HRESULT Udi ([out, retval] BSTR * aUdi);
-
- }; /* interface IHostDVDDrive */
-
- [
- uuid(1ed7cfaf-c363-40df-aa4e-89c1afb7d96b),
- object,
- dual
- ]
- interface IHostDVDDriveEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IHostDVDDrive * * next);
-
-
- }; /* interface IHostDVDDriveEnumerator */
-
- [
- uuid(1909c533-1a1e-445f-a4e1-a267cffc30ed),
- object,
- dual
- ]
- interface IHostDVDDriveCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IHostDVDDrive * * item);
-
- HRESULT Enumerate ([out, retval] IHostDVDDriveEnumerator * * enumerator);
-
- HRESULT FindByName (
- [in] BSTR aName,
- [out, retval] IHostDVDDrive * * aDrive
- );
-
-
- }; /* interface IHostDVDDriveCollection */
-
- [
- uuid(b6a4d1a9-4221-43c3-bd52-021a5daa9ed2),
- object,
- dual
- ]
- interface IHostFloppyDrive : IUnknown
- {
- [propget] HRESULT Name ([out, retval] BSTR * aName);
-
- [propget] HRESULT Description ([out, retval] BSTR * aDescription);
-
- [propget] HRESULT Udi ([out, retval] BSTR * aUdi);
-
- }; /* interface IHostFloppyDrive */
-
- [
- uuid(ce04c924-4f54-432a-9dec-11fddc3ea875),
- object,
- dual
- ]
- interface IHostFloppyDriveEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IHostFloppyDrive * * next);
-
-
- }; /* interface IHostFloppyDriveEnumerator */
-
- [
- uuid(fd84bb86-c59a-4037-a557-755ff263a460),
- object,
- dual
- ]
- interface IHostFloppyDriveCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IHostFloppyDrive * * item);
-
- HRESULT Enumerate ([out, retval] IHostFloppyDriveEnumerator * * enumerator);
-
- HRESULT FindByName (
- [in] BSTR aName,
- [out, retval] IHostFloppyDrive * * aDrive
- );
-
-
- }; /* interface IHostFloppyDriveCollection */
-
- [
- uuid(F4512D7C-B074-4e97-99B8-6D2BD27C3F5A),
- object,
- dual
- ]
- interface IHostNetworkInterface : IUnknown
- {
- [propget] HRESULT Name ([out, retval] BSTR * aName);
-
- [propget] HRESULT Id ([out, retval] GUID * aId);
-
- }; /* interface IHostNetworkInterface */
-
- [
- uuid(7B52FEF7-56E8-4aec-92F5-15E6D11EC630),
- object,
- dual
- ]
- interface IHostNetworkInterfaceEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IHostNetworkInterface * * next);
-
-
- }; /* interface IHostNetworkInterfaceEnumerator */
-
- [
- uuid(BF1D41F2-B97B-4314-A0FB-D4823AF42FB5),
- object,
- dual
- ]
- interface IHostNetworkInterfaceCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IHostNetworkInterface * * item);
-
- HRESULT Enumerate ([out, retval] IHostNetworkInterfaceEnumerator * * enumerator);
-
- HRESULT FindByName (
- [in] BSTR aName,
- [out, retval] IHostNetworkInterface * * aNetworkInterface
- );
-
- HRESULT FindById (
- [in] GUID aId,
- [out, retval] IHostNetworkInterface * * aNetworkInterface
- );
-
-
- }; /* interface IHostNetworkInterfaceCollection */
-
- [
- uuid(81729c26-1aec-46f5-b7c0-cc7364738fdb),
- object,
- dual
- ]
- interface IHost : IUnknown
- {
- [propget] HRESULT DVDDrives ([out, retval] IHostDVDDriveCollection * * aDVDDrives);
-
- [propget] HRESULT FloppyDrives ([out, retval] IHostFloppyDriveCollection * * aFloppyDrives);
-
- [propget] HRESULT USBDevices ([out, retval] IHostUSBDeviceCollection * * aUSBDevices);
-
- [propget] HRESULT USBDeviceFilters ([out, retval] IHostUSBDeviceFilterCollection * * aUSBDeviceFilters);
-
- [propget] HRESULT ProcessorCount ([out, retval] ULONG * aProcessorCount);
-
- [propget] HRESULT ProcessorSpeed ([out, retval] ULONG * aProcessorSpeed);
-
- [propget] HRESULT ProcessorDescription ([out, retval] BSTR * aProcessorDescription);
-
- [propget] HRESULT MemorySize ([out, retval] ULONG * aMemorySize);
-
- [propget] HRESULT MemoryAvailable ([out, retval] ULONG * aMemoryAvailable);
-
- [propget] HRESULT OperatingSystem ([out, retval] BSTR * aOperatingSystem);
-
- [propget] HRESULT OSVersion ([out, retval] BSTR * aOSVersion);
-
- [propget] HRESULT UTCTime ([out, retval] LONG64 * aUTCTime);
-
- HRESULT CreateUSBDeviceFilter (
- [in] BSTR aName,
- [out, retval] IHostUSBDeviceFilter * * aFilter
- );
-
- HRESULT InsertUSBDeviceFilter (
- [in] ULONG aPosition,
- [in] IHostUSBDeviceFilter * aFilter
- );
-
- HRESULT RemoveUSBDeviceFilter (
- [in] ULONG aPosition,
- [out, retval] IHostUSBDeviceFilter * * aFilter
- );
-
- [propget] HRESULT NetworkInterfaces ([out, retval] IHostNetworkInterfaceCollection * * aNetworkInterfaces);
-
- HRESULT CreateHostNetworkInterface (
- [in] BSTR aName,
- [out] IHostNetworkInterface * * aHostInterface,
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT RemoveHostNetworkInterface (
- [in] GUID aId,
- [out] IHostNetworkInterface * * aHostInterface,
- [out, retval] IProgress * * aProgress
- );
-
- }; /* interface IHost */
-
- [
- uuid(12c2e31e-247f-4d51-82e5-5b9d4a6c7d5b),
- object,
- dual
- ]
- interface ISystemProperties : IUnknown
- {
- [propget] HRESULT MinGuestRAM ([out, retval] ULONG * aMinGuestRAM);
-
- [propget] HRESULT MaxGuestRAM ([out, retval] ULONG * aMaxGuestRAM);
-
- [propget] HRESULT MinGuestVRAM ([out, retval] ULONG * aMinGuestVRAM);
-
- [propget] HRESULT MaxGuestVRAM ([out, retval] ULONG * aMaxGuestVRAM);
-
- [propget] HRESULT MaxVDISize ([out, retval] ULONG64 * aMaxVDISize);
-
- [propget] HRESULT NetworkAdapterCount ([out, retval] ULONG * aNetworkAdapterCount);
-
- [propget] HRESULT SerialPortCount ([out, retval] ULONG * aSerialPortCount);
-
- [propget] HRESULT ParallelPortCount ([out, retval] ULONG * aParallelPortCount);
-
- [propget] HRESULT MaxBootPosition ([out, retval] ULONG * aMaxBootPosition);
-
- [propget] HRESULT DefaultVDIFolder ([out, retval] BSTR * aDefaultVDIFolder);
- [propput] HRESULT DefaultVDIFolder ([in] BSTR aDefaultVDIFolder);
-
- [propget] HRESULT DefaultMachineFolder ([out, retval] BSTR * aDefaultMachineFolder);
- [propput] HRESULT DefaultMachineFolder ([in] BSTR aDefaultMachineFolder);
-
- [propget] HRESULT RemoteDisplayAuthLibrary ([out, retval] BSTR * aRemoteDisplayAuthLibrary);
- [propput] HRESULT RemoteDisplayAuthLibrary ([in] BSTR aRemoteDisplayAuthLibrary);
-
- [propget] HRESULT HWVirtExEnabled ([out, retval] BOOL * aHWVirtExEnabled);
- [propput] HRESULT HWVirtExEnabled ([in] BOOL aHWVirtExEnabled);
-
- [propget] HRESULT LogHistoryCount ([out, retval] ULONG * aLogHistoryCount);
- [propput] HRESULT LogHistoryCount ([in] ULONG aLogHistoryCount);
-
- }; /* interface ISystemProperties */
-
- [
- uuid(da94f478-1f37-4726-b750-2235950dc2fe),
- object,
- dual
- ]
- interface IGuestOSType : IUnknown
- {
- [propget] HRESULT Id ([out, retval] BSTR * aId);
-
- [propget] HRESULT Description ([out, retval] BSTR * aDescription);
-
- [propget] HRESULT RecommendedRAM ([out, retval] ULONG * aRecommendedRAM);
-
- [propget] HRESULT RecommendedVRAM ([out, retval] ULONG * aRecommendedVRAM);
-
- [propget] HRESULT RecommendedHDD ([out, retval] ULONG * aRecommendedHDD);
-
- }; /* interface IGuestOSType */
-
- [
- uuid(a3335e02-4669-4e3c-80c7-c4dc7056a07c),
- object,
- dual
- ]
- interface IGuestOSTypeEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IGuestOSType * * next);
-
-
- }; /* interface IGuestOSTypeEnumerator */
-
- [
- uuid(a5e36749-a610-498b-9f29-2e36c1042d65),
- object,
- dual
- ]
- interface IGuestOSTypeCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IGuestOSType * * item);
-
- HRESULT Enumerate ([out, retval] IGuestOSTypeEnumerator * * enumerator);
-
-
- }; /* interface IGuestOSTypeCollection */
-
- [
- uuid(5d54a565-813c-42a0-a81a-e31779e03186),
- object,
- dual
- ]
- interface IGuest : IUnknown
- {
- [propget] HRESULT OSTypeId ([out, retval] BSTR * aOSTypeId);
-
- [propget] HRESULT AdditionsActive ([out, retval] BOOL * aAdditionsActive);
-
- [propget] HRESULT AdditionsVersion ([out, retval] BSTR * aAdditionsVersion);
-
- [propget] HRESULT SupportsSeamless ([out, retval] BOOL * aSupportsSeamless);
-
- [propget] HRESULT MemoryBalloonSize ([out, retval] ULONG * aMemoryBalloonSize);
- [propput] HRESULT MemoryBalloonSize ([in] ULONG aMemoryBalloonSize);
-
- [propget] HRESULT StatisticsUpdateInterval ([out, retval] ULONG * aStatisticsUpdateInterval);
- [propput] HRESULT StatisticsUpdateInterval ([in] ULONG aStatisticsUpdateInterval);
-
- HRESULT SetCredentials (
- [in] BSTR aUserName,
- [in] BSTR aPassword,
- [in] BSTR aDomain,
- [in] BOOL aAllowInteractiveLogon
- );
-
- HRESULT GetStatistic (
- [in] GuestStatisticType aStatistic,
- [out] ULONG * aStatVal
- );
-
- }; /* interface IGuest */
-
- [
- uuid(e0380522-4ef1-48f4-856c-e455177ccb2d),
- object,
- dual
- ]
- interface IProgressEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IProgress * * next);
-
-
- }; /* interface IProgressEnumerator */
-
- [
- uuid(78B76A7C-F0F2-467c-9F0E-F089A54EE957),
- object,
- dual
- ]
- interface IProgressCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IProgress * * item);
-
- HRESULT Enumerate ([out, retval] IProgressEnumerator * * enumerator);
-
-
- }; /* interface IProgressCollection */
-
- [
- uuid(10CC03A1-717E-429b-992D-C67B56175A51),
- object,
- dual
- ]
- interface IProgress : IUnknown
- {
- [propget] HRESULT Id ([out, retval] GUID * aId);
-
- [propget] HRESULT Description ([out, retval] BSTR * aDescription);
-
- [propget] HRESULT Initiator ([out, retval] IUnknown * * aInitiator);
-
- [propget] HRESULT Cancelable ([out, retval] BOOL * aCancelable);
-
- [propget] HRESULT Percent ([out, retval] LONG * aPercent);
-
- [propget] HRESULT Completed ([out, retval] BOOL * aCompleted);
-
- [propget] HRESULT Canceled ([out, retval] BOOL * aCanceled);
-
- [propget] HRESULT ResultCode ([out, retval] HRESULT * aResultCode);
-
- [propget] HRESULT ErrorInfo ([out, retval] IVirtualBoxErrorInfo * * aErrorInfo);
-
- [propget] HRESULT OperationCount ([out, retval] ULONG * aOperationCount);
-
- [propget] HRESULT Operation ([out, retval] ULONG * aOperation);
-
- [propget] HRESULT OperationDescription ([out, retval] BSTR * aOperationDescription);
-
- [propget] HRESULT OperationPercent ([out, retval] LONG * aOperationPercent);
-
- HRESULT WaitForCompletion (
- [in] LONG aTimeout
- );
-
- HRESULT WaitForOperationCompletion (
- [in] ULONG aOperation,
- [in] LONG aTimeout
- );
-
- HRESULT Cancel();
-
- }; /* interface IProgress */
-
- [
- uuid(25cfa2a4-1f1d-4f05-9658-b7a5894ef1a3),
- object,
- dual
- ]
- interface ISnapshotEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] ISnapshot * * next);
-
-
- }; /* interface ISnapshotEnumerator */
-
- [
- uuid(23852e3c-94cd-4801-ab05-ed35675b3894),
- object,
- dual
- ]
- interface ISnapshotCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] ISnapshot * * item);
-
- HRESULT Enumerate ([out, retval] ISnapshotEnumerator * * enumerator);
-
-
- }; /* interface ISnapshotCollection */
-
- [
- uuid(9f1bbf79-13b0-4da2-abba-4a992c65c083),
- object,
- dual
- ]
- interface ISnapshot : IUnknown
- {
- [propget] HRESULT Id ([out, retval] GUID * aId);
-
- [propget] HRESULT Name ([out, retval] BSTR * aName);
- [propput] HRESULT Name ([in] BSTR aName);
-
- [propget] HRESULT Description ([out, retval] BSTR * aDescription);
- [propput] HRESULT Description ([in] BSTR aDescription);
-
- [propget] HRESULT TimeStamp ([out, retval] LONG64 * aTimeStamp);
-
- [propget] HRESULT Online ([out, retval] BOOL * aOnline);
-
- [propget] HRESULT Machine ([out, retval] IMachine * * aMachine);
-
- [propget] HRESULT Parent ([out, retval] ISnapshot * * aParent);
-
- [propget] HRESULT Children ([out, retval] ISnapshotCollection * * aChildren);
-
- }; /* interface ISnapshot */
-
- [
- uuid(c0ffe596-21c6-4797-8d8a-b47b66881e7a),
- object,
- dual
- ]
- interface IHardDiskAttachment : IUnknown
- {
- [propget] HRESULT HardDisk ([out, retval] IHardDisk * * aHardDisk);
-
- [propget] HRESULT Controller ([out, retval] DiskControllerType * aController);
-
- [propget] HRESULT DeviceNumber ([out, retval] LONG * aDeviceNumber);
-
- }; /* interface IHardDiskAttachment */
-
- [
- uuid(9955e486-2f0b-432a-99e4-0ebbd338875e),
- object,
- dual
- ]
- interface IHardDiskAttachmentEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IHardDiskAttachment * * next);
-
-
- }; /* interface IHardDiskAttachmentEnumerator */
-
- [
- uuid(8f727842-bb77-45d4-92de-4ec14bf613c9),
- object,
- dual
- ]
- interface IHardDiskAttachmentCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IHardDiskAttachment * * item);
-
- HRESULT Enumerate ([out, retval] IHardDiskAttachmentEnumerator * * enumerator);
-
-
- }; /* interface IHardDiskAttachmentCollection */
-
- [
- uuid(b976f97b-cdb8-47e3-9860-084031cbd533),
- object,
- dual
- ]
- interface IHardDiskEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IHardDisk * * next);
-
-
- }; /* interface IHardDiskEnumerator */
-
- [
- uuid(43EAC2BC-5C61-40fa-BC38-46DE2C7DB6BB),
- object,
- dual
- ]
- interface IHardDiskCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IHardDisk * * item);
-
- HRESULT Enumerate ([out, retval] IHardDiskEnumerator * * enumerator);
-
-
- }; /* interface IHardDiskCollection */
-
- [
- uuid(FD443EC1-000F-4F5B-9282-D72760A66916),
- object,
- dual
- ]
- interface IHardDisk : IUnknown
- {
- [propget] HRESULT Id ([out, retval] GUID * aId);
-
- [propget] HRESULT Description ([out, retval] BSTR * aDescription);
- [propput] HRESULT Description ([in] BSTR aDescription);
-
- [propget] HRESULT StorageType ([out, retval] HardDiskStorageType * aStorageType);
-
- [propget] HRESULT Location ([out, retval] BSTR * aLocation);
-
- [propget] HRESULT Type ([out, retval] HardDiskType * aType);
- [propput] HRESULT Type ([in] HardDiskType aType);
-
- [propget] HRESULT Parent ([out, retval] IHardDisk * * aParent);
-
- [propget] HRESULT Children ([out, retval] IHardDiskCollection * * aChildren);
-
- [propget] HRESULT Root ([out, retval] IHardDisk * * aRoot);
-
- [propget] HRESULT Accessible ([out, retval] BOOL * aAccessible);
-
- [propget] HRESULT AllAccessible ([out, retval] BOOL * aAllAccessible);
-
- [propget] HRESULT LastAccessError ([out, retval] BSTR * aLastAccessError);
-
- [propget] HRESULT Size ([out, retval] ULONG64 * aSize);
-
- [propget] HRESULT ActualSize ([out, retval] ULONG64 * aActualSize);
-
- [propget] HRESULT MachineId ([out, retval] GUID * aMachineId);
-
- [propget] HRESULT SnapshotId ([out, retval] GUID * aSnapshotId);
-
- HRESULT CloneToImage (
- [in] BSTR aFilePath,
- [out] IVirtualDiskImage * * aImage,
- [out, retval] IProgress * * aProgress
- );
-
- }; /* interface IHardDisk */
-
- [
- uuid(a8265b5a-0d20-4a46-a02f-65693a4e8239),
- object,
- dual
- ]
- interface IVirtualDiskImage : IUnknown
- {
- [propget] HRESULT FilePath ([out, retval] BSTR * aFilePath);
- [propput] HRESULT FilePath ([in] BSTR aFilePath);
-
- [propget] HRESULT Created ([out, retval] BOOL * aCreated);
-
- HRESULT CreateDynamicImage (
- [in] ULONG64 aSize,
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT CreateFixedImage (
- [in] ULONG64 aSize,
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT DeleteImage();
-
- }; /* interface IVirtualDiskImage */
-
- [
- uuid(003f6ca9-3257-4ef9-99c9-c66ce44576cb),
- object,
- dual
- ]
- interface IISCSIHardDisk : IUnknown
- {
- [propget] HRESULT Server ([out, retval] BSTR * aServer);
- [propput] HRESULT Server ([in] BSTR aServer);
-
- [propget] HRESULT Port ([out, retval] USHORT * aPort);
- [propput] HRESULT Port ([in] USHORT aPort);
-
- [propget] HRESULT Target ([out, retval] BSTR * aTarget);
- [propput] HRESULT Target ([in] BSTR aTarget);
-
- [propget] HRESULT Lun ([out, retval] ULONG64 * aLun);
- [propput] HRESULT Lun ([in] ULONG64 aLun);
-
- [propget] HRESULT UserName ([out, retval] BSTR * aUserName);
- [propput] HRESULT UserName ([in] BSTR aUserName);
-
- [propget] HRESULT Password ([out, retval] BSTR * aPassword);
- [propput] HRESULT Password ([in] BSTR aPassword);
-
- }; /* interface IISCSIHardDisk */
-
- [
- uuid(178398f5-8559-4fee-979e-420af5b53eef),
- object,
- dual
- ]
- interface IVMDKImage : IUnknown
- {
- [propget] HRESULT FilePath ([out, retval] BSTR * aFilePath);
- [propput] HRESULT FilePath ([in] BSTR aFilePath);
-
- [propget] HRESULT Created ([out, retval] BOOL * aCreated);
-
- HRESULT CreateDynamicImage (
- [in] ULONG64 aSize,
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT CreateFixedImage (
- [in] ULONG64 aSize,
- [out, retval] IProgress * * aProgress
- );
-
- HRESULT DeleteImage();
-
- }; /* interface IVMDKImage */
-
- [
- uuid(9BE77C8D-E1BE-4bf2-A67B-B4DD3D2B0F28),
- object,
- dual
- ]
- interface IDVDImageEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IDVDImage * * next);
-
-
- }; /* interface IDVDImageEnumerator */
-
- [
- uuid(AE7053FA-ADD2-4ea4-AFCF-24D5F8DDED64),
- object,
- dual
- ]
- interface IDVDImageCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IDVDImage * * item);
-
- HRESULT Enumerate ([out, retval] IDVDImageEnumerator * * enumerator);
-
- HRESULT FindByPath (
- [in] BSTR aPath,
- [out, retval] IDVDImage * * aImage
- );
-
-
- }; /* interface IDVDImageCollection */
-
- [
- uuid(140FFF03-E479-4194-8562-ABC4F8171009),
- object,
- dual
- ]
- interface IDVDImage : IUnknown
- {
- [propget] HRESULT Id ([out, retval] GUID * aId);
-
- [propget] HRESULT FilePath ([out, retval] BSTR * aFilePath);
-
- [propget] HRESULT Accessible ([out, retval] BOOL * aAccessible);
-
- [propget] HRESULT Size ([out, retval] ULONG64 * aSize);
-
- }; /* interface IDVDImage */
-
- [
- uuid(d9bd101a-8079-4fb9-bad1-31bf32482b75),
- object,
- dual
- ]
- interface IDVDDrive : IUnknown
- {
- [propget] HRESULT State ([out, retval] DriveState * aState);
-
- [propget] HRESULT Passthrough ([out, retval] BOOL * aPassthrough);
- [propput] HRESULT Passthrough ([in] BOOL aPassthrough);
-
- HRESULT MountImage (
- [in] GUID aImageId
- );
-
- HRESULT CaptureHostDrive (
- [in] IHostDVDDrive * aDrive
- );
-
- HRESULT Unmount();
-
- HRESULT GetImage (
- [out, retval] IDVDImage * * aImage
- );
-
- HRESULT GetHostDrive (
- [out, retval] IHostDVDDrive * * aDrive
- );
-
- }; /* interface IDVDDrive */
-
- [
- uuid(902C4089-76B7-41f1-91E8-49A261A28A2C),
- object,
- dual
- ]
- interface IFloppyImageEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IFloppyImage * * next);
-
-
- }; /* interface IFloppyImageEnumerator */
-
- [
- uuid(327A8928-8572-446e-AD9A-18FE30E81F3F),
- object,
- dual
- ]
- interface IFloppyImageCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IFloppyImage * * item);
-
- HRESULT Enumerate ([out, retval] IFloppyImageEnumerator * * enumerator);
-
- HRESULT FindByPath (
- [in] BSTR aPath,
- [out, retval] IFloppyImage * * aImage
- );
-
-
- }; /* interface IFloppyImageCollection */
-
- [
- uuid(CC696755-EA98-4ffe-9DC5-C003047034AB),
- object,
- dual
- ]
- interface IFloppyImage : IUnknown
- {
- [propget] HRESULT Id ([out, retval] GUID * aId);
-
- [propget] HRESULT FilePath ([out, retval] BSTR * aFilePath);
-
- [propget] HRESULT Accessible ([out, retval] BOOL * aAccessible);
-
- [propget] HRESULT Size ([out, retval] ULONG * aSize);
-
- }; /* interface IFloppyImage */
-
- [
- uuid(E9318F71-78D2-4b00-863C-B7CB0030A2D9),
- object,
- dual
- ]
- interface IFloppyDrive : IUnknown
- {
- [propget] HRESULT Enabled ([out, retval] BOOL * aEnabled);
- [propput] HRESULT Enabled ([in] BOOL aEnabled);
-
- [propget] HRESULT State ([out, retval] DriveState * aState);
-
- HRESULT MountImage (
- [in] GUID aImageId
- );
-
- HRESULT CaptureHostDrive (
- [in] IHostFloppyDrive * aDrive
- );
-
- HRESULT Unmount();
-
- HRESULT GetImage (
- [out, retval] IFloppyImage * * aImage
- );
-
- HRESULT GetHostDrive (
- [out, retval] IHostFloppyDrive * * aDrive
- );
-
- }; /* interface IFloppyDrive */
-
- [
- uuid(FD443EC1-000A-4F5B-9282-D72760A66916),
- object,
- dual
- ]
- interface IKeyboard : IUnknown
- {
- HRESULT PutScancode (
- [in] LONG aScancode
- );
-
- HRESULT PutScancodes (
- [in, size_is(aCount)] LONG * aScancodes,
- [in] ULONG aCount,
- [out, retval] ULONG * aCodesStored
- );
-
- HRESULT PutCAD();
-
- }; /* interface IKeyboard */
-
- [
- uuid(FD443EC1-0006-4F5B-9282-D72760A66916),
- object,
- dual
- ]
- interface IMouse : IUnknown
- {
- [propget] HRESULT AbsoluteSupported ([out, retval] BOOL * aAbsoluteSupported);
-
- HRESULT PutMouseEvent (
- [in] LONG aDx,
- [in] LONG aDy,
- [in] LONG aDz,
- [in] LONG aButtonState
- );
-
- HRESULT PutMouseEventAbsolute (
- [in] LONG aX,
- [in] LONG aY,
- [in] LONG aDz,
- [in] LONG aButtonState
- );
-
- }; /* interface IMouse */
-
- [
- uuid(af431304-5b09-40e2-94da-3c3cb03822c1),
- object,
- dual
- ]
- interface IFramebuffer : IUnknown
- {
- [propget] HRESULT Address ([out, retval] BYTE * * aAddress);
-
- [propget] HRESULT Width ([out, retval] ULONG * aWidth);
-
- [propget] HRESULT Height ([out, retval] ULONG * aHeight);
-
- [propget] HRESULT BitsPerPixel ([out, retval] ULONG * aBitsPerPixel);
-
- [propget] HRESULT BytesPerLine ([out, retval] ULONG * aBytesPerLine);
-
- [propget] HRESULT PixelFormat ([out, retval] ULONG * aPixelFormat);
-
- [propget] HRESULT UsesGuestVRAM ([out, retval] BOOL * aUsesGuestVRAM);
-
- [propget] HRESULT HeightReduction ([out, retval] ULONG * aHeightReduction);
-
- [propget] HRESULT Overlay ([out, retval] IFramebufferOverlay * * aOverlay);
-
- HRESULT Lock();
-
- HRESULT Unlock();
-
- HRESULT NotifyUpdate (
- [in] ULONG aX,
- [in] ULONG aY,
- [in] ULONG aWidth,
- [in] ULONG aHeight,
- [out, retval] BOOL * aFinished
- );
-
- HRESULT RequestResize (
- [in] ULONG aScreenId,
- [in] ULONG aPixelFormat,
- [in] BYTE * aVRAM,
- [in] ULONG aBitsPerPixel,
- [in] ULONG aBytesPerLine,
- [in] ULONG aWidth,
- [in] ULONG aHeight,
- [out, retval] BOOL * aFinished
- );
-
- HRESULT OperationSupported (
- [in] FramebufferAccelerationOperation aOperation,
- [out, retval] BOOL * aSupported
- );
-
- HRESULT VideoModeSupported (
- [in] ULONG aWidth,
- [in] ULONG aHeight,
- [in] ULONG aBpp,
- [out, retval] BOOL * aSupported
- );
-
- HRESULT SolidFill (
- [in] ULONG aX,
- [in] ULONG aY,
- [in] ULONG aWidth,
- [in] ULONG aHeight,
- [in] ULONG aColor,
- [out, retval] BOOL * aHandled
- );
-
- HRESULT CopyScreenBits (
- [in] ULONG aXDst,
- [in] ULONG aYDst,
- [in] ULONG aXSrc,
- [in] ULONG aYSrc,
- [in] ULONG aWidth,
- [in] ULONG aHeight,
- [out, retval] BOOL * aHandled
- );
-
- HRESULT GetVisibleRegion (
- [in] BYTE * aRectangles,
- [in] ULONG aCount,
- [out, retval] ULONG * aCountCopied
- );
-
- HRESULT SetVisibleRegion (
- [in] BYTE * aRectangles,
- [in] ULONG aCount
- );
-
- }; /* interface IFramebuffer */
-
- [
- uuid(0bcc1c7e-e415-47d2-bfdb-e4c705fb0f47),
- object,
- dual
- ]
- interface IFramebufferOverlay : IFrameBuffer
- {
- [propget] HRESULT X ([out, retval] ULONG * aX);
-
- [propget] HRESULT Y ([out, retval] ULONG * aY);
-
- [propget] HRESULT Visible ([out, retval] BOOL * aVisible);
- [propput] HRESULT Visible ([in] BOOL aVisible);
-
- [propget] HRESULT Alpha ([out, retval] ULONG * aAlpha);
- [propput] HRESULT Alpha ([in] ULONG aAlpha);
-
- HRESULT Move (
- [in] ULONG aX,
- [in] ULONG aY
- );
-
- }; /* interface IFramebufferOverlay */
-
- [
- uuid(09789f63-4525-48e5-a5e4-1080453b0eab),
- object,
- dual
- ]
- interface IDisplay : IUnknown
- {
- [propget] HRESULT Width ([out, retval] ULONG * aWidth);
-
- [propget] HRESULT Height ([out, retval] ULONG * aHeight);
-
- [propget] HRESULT BitsPerPixel ([out, retval] ULONG * aBitsPerPixel);
-
- HRESULT SetupInternalFramebuffer (
- [in] ULONG aDepth
- );
-
- HRESULT LockFramebuffer (
- [out, retval] BYTE * * aAddress
- );
-
- HRESULT UnlockFramebuffer();
-
- HRESULT RegisterExternalFramebuffer (
- [in] IFramebuffer * aFramebuffer
- );
-
- HRESULT SetFramebuffer (
- [in] ULONG aScreenId,
- [in] IFramebuffer * aFramebuffer
- );
-
- HRESULT GetFramebuffer (
- [in] ULONG aScreenId,
- [out] IFramebuffer * * aFramebuffer,
- [out] LONG * aXOrigin,
- [out] LONG * aYOrigin
- );
-
- HRESULT SetVideoModeHint (
- [in] ULONG aWidth,
- [in] ULONG aHeight,
- [in] ULONG aBitsPerPixel,
- [in] ULONG aDisplay
- );
-
- HRESULT SetSeamlessMode (
- [in] BOOL aEnabled
- );
-
- HRESULT TakeScreenShot (
- [in] BYTE * aAddress,
- [in] ULONG aWidth,
- [in] ULONG aHeight
- );
-
- HRESULT DrawToScreen (
- [in] BYTE * aAddress,
- [in] ULONG aX,
- [in] ULONG aY,
- [in] ULONG aWidth,
- [in] ULONG aHeight
- );
-
- HRESULT InvalidateAndUpdate();
-
- HRESULT ResizeCompleted (
- [in] ULONG aScreenId
- );
-
- HRESULT UpdateCompleted();
-
- }; /* interface IDisplay */
-
- [
- uuid(78dfc978-ecb0-44ee-8b20-54549dd4539e),
- object,
- dual
- ]
- interface INetworkAdapter : IUnknown
- {
- [propget] HRESULT AdapterType ([out, retval] NetworkAdapterType * aAdapterType);
- [propput] HRESULT AdapterType ([in] NetworkAdapterType aAdapterType);
-
- [propget] HRESULT Slot ([out, retval] ULONG * aSlot);
-
- [propget] HRESULT Enabled ([out, retval] BOOL * aEnabled);
- [propput] HRESULT Enabled ([in] BOOL aEnabled);
-
- [propget] HRESULT MACAddress ([out, retval] BSTR * aMACAddress);
- [propput] HRESULT MACAddress ([in] BSTR aMACAddress);
-
- [propget] HRESULT AttachmentType ([out, retval] NetworkAttachmentType * aAttachmentType);
-
- [propget] HRESULT HostInterface ([out, retval] BSTR * aHostInterface);
- [propput] HRESULT HostInterface ([in] BSTR aHostInterface);
-
- [propget] HRESULT InternalNetwork ([out, retval] BSTR * aInternalNetwork);
- [propput] HRESULT InternalNetwork ([in] BSTR aInternalNetwork);
-
- [propget] HRESULT CableConnected ([out, retval] BOOL * aCableConnected);
- [propput] HRESULT CableConnected ([in] BOOL aCableConnected);
-
- [propget] HRESULT TraceEnabled ([out, retval] BOOL * aTraceEnabled);
- [propput] HRESULT TraceEnabled ([in] BOOL aTraceEnabled);
-
- [propget] HRESULT TraceFile ([out, retval] BSTR * aTraceFile);
- [propput] HRESULT TraceFile ([in] BSTR aTraceFile);
-
- HRESULT AttachToNAT();
-
- HRESULT AttachToHostInterface();
-
- HRESULT AttachToInternalNetwork();
-
- HRESULT Detach();
-
- }; /* interface INetworkAdapter */
-
- [
- uuid(937f6970-5103-4745-b78e-d28dcf1479a8),
- object,
- dual
- ]
- interface ISerialPort : IUnknown
- {
- [propget] HRESULT Slot ([out, retval] ULONG * aSlot);
-
- [propget] HRESULT Enabled ([out, retval] BOOL * aEnabled);
- [propput] HRESULT Enabled ([in] BOOL aEnabled);
-
- [propget] HRESULT IOBase ([out, retval] ULONG * aIOBase);
- [propput] HRESULT IOBase ([in] ULONG aIOBase);
-
- [propget] HRESULT IRQ ([out, retval] ULONG * aIRQ);
- [propput] HRESULT IRQ ([in] ULONG aIRQ);
-
- [propget] HRESULT HostMode ([out, retval] PortMode * aHostMode);
- [propput] HRESULT HostMode ([in] PortMode aHostMode);
-
- [propget] HRESULT Server ([out, retval] BOOL * aServer);
- [propput] HRESULT Server ([in] BOOL aServer);
-
- [propget] HRESULT Path ([out, retval] BSTR * aPath);
- [propput] HRESULT Path ([in] BSTR aPath);
-
- }; /* interface ISerialPort */
-
- [
- uuid(0c925f06-dd10-4b77-8de8-294d738c3214),
- object,
- dual
- ]
- interface IParallelPort : IUnknown
- {
- [propget] HRESULT Slot ([out, retval] ULONG * aSlot);
-
- [propget] HRESULT Enabled ([out, retval] BOOL * aEnabled);
- [propput] HRESULT Enabled ([in] BOOL aEnabled);
-
- [propget] HRESULT IOBase ([out, retval] ULONG * aIOBase);
- [propput] HRESULT IOBase ([in] ULONG aIOBase);
-
- [propget] HRESULT IRQ ([out, retval] ULONG * aIRQ);
- [propput] HRESULT IRQ ([in] ULONG aIRQ);
-
- [propget] HRESULT Path ([out, retval] BSTR * aPath);
- [propput] HRESULT Path ([in] BSTR aPath);
-
- }; /* interface IParallelPort */
-
- [
- uuid(358b05cd-6d43-42b9-9c2b-75d466a58cfc),
- object,
- dual
- ]
- interface IMachineDebugger : IUnknown
- {
- [propget] HRESULT Singlestep ([out, retval] BOOL * aSinglestep);
- [propput] HRESULT Singlestep ([in] BOOL aSinglestep);
-
- [propget] HRESULT RecompileUser ([out, retval] BOOL * aRecompileUser);
- [propput] HRESULT RecompileUser ([in] BOOL aRecompileUser);
-
- [propget] HRESULT RecompileSupervisor ([out, retval] BOOL * aRecompileSupervisor);
- [propput] HRESULT RecompileSupervisor ([in] BOOL aRecompileSupervisor);
-
- [propget] HRESULT PATMEnabled ([out, retval] BOOL * aPATMEnabled);
- [propput] HRESULT PATMEnabled ([in] BOOL aPATMEnabled);
-
- [propget] HRESULT CSAMEnabled ([out, retval] BOOL * aCSAMEnabled);
- [propput] HRESULT CSAMEnabled ([in] BOOL aCSAMEnabled);
-
- [propget] HRESULT LogEnabled ([out, retval] BOOL * aLogEnabled);
- [propput] HRESULT LogEnabled ([in] BOOL aLogEnabled);
-
- [propget] HRESULT HWVirtExEnabled ([out, retval] BOOL * aHWVirtExEnabled);
-
- [propget] HRESULT VirtualTimeRate ([out, retval] ULONG * aVirtualTimeRate);
- [propput] HRESULT VirtualTimeRate ([in] ULONG aVirtualTimeRate);
-
- [propget] HRESULT VM ([out, retval] ULONG64 * aVM);
-
- HRESULT ResetStats();
-
- HRESULT DumpStats();
-
- }; /* interface IMachineDebugger */
-
- [
- uuid(f4c2d3dc-f109-4da7-93b1-ec28973ac89f),
- object,
- dual
- ]
- interface IUSBController : IUnknown
- {
- [propget] HRESULT Enabled ([out, retval] BOOL * aEnabled);
- [propput] HRESULT Enabled ([in] BOOL aEnabled);
-
- [propget] HRESULT EnabledEhci ([out, retval] BOOL * aEnabledEhci);
- [propput] HRESULT EnabledEhci ([in] BOOL aEnabledEhci);
-
- [propget] HRESULT USBStandard ([out, retval] USHORT * aUSBStandard);
-
- [propget] HRESULT DeviceFilters ([out, retval] IUSBDeviceFilterCollection * * aDeviceFilters);
-
- HRESULT CreateDeviceFilter (
- [in] BSTR aName,
- [out, retval] IUSBDeviceFilter * * aFilter
- );
-
- HRESULT InsertDeviceFilter (
- [in] ULONG aPosition,
- [in] IUSBDeviceFilter * aFilter
- );
-
- HRESULT RemoveDeviceFilter (
- [in] ULONG aPosition,
- [out, retval] IUSBDeviceFilter * * aFilter
- );
-
- }; /* interface IUSBController */
-
- [
- uuid(aefe00f7-eb8a-454b-9ea4-fd5ad93c0e99),
- object,
- dual
- ]
- interface IUSBDeviceEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IUSBDevice * * next);
-
-
- }; /* interface IUSBDeviceEnumerator */
-
- [
- uuid(e31f3248-90dd-4ca2-95f0-6b36042d96a2),
- object,
- dual
- ]
- interface IUSBDeviceCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IUSBDevice * * item);
-
- HRESULT Enumerate ([out, retval] IUSBDeviceEnumerator * * enumerator);
-
- HRESULT FindById (
- [in] GUID aId,
- [out, retval] IUSBDevice * * aDevice
- );
-
- HRESULT FindByAddress (
- [in] BSTR aName,
- [out, retval] IUSBDevice * * aDevice
- );
-
-
- }; /* interface IUSBDeviceCollection */
-
- [
- uuid(850af07b-9ee8-48c2-b6b0-f6d0acbf63c3),
- object,
- dual
- ]
- interface IUSBDevice : IUnknown
- {
- [propget] HRESULT Id ([out, retval] GUID * aId);
-
- [propget] HRESULT VendorId ([out, retval] USHORT * aVendorId);
-
- [propget] HRESULT ProductId ([out, retval] USHORT * aProductId);
-
- [propget] HRESULT Revision ([out, retval] USHORT * aRevision);
-
- [propget] HRESULT Manufacturer ([out, retval] BSTR * aManufacturer);
-
- [propget] HRESULT Product ([out, retval] BSTR * aProduct);
-
- [propget] HRESULT SerialNumber ([out, retval] BSTR * aSerialNumber);
-
- [propget] HRESULT Address ([out, retval] BSTR * aAddress);
-
- [propget] HRESULT Port ([out, retval] USHORT * aPort);
-
- [propget] HRESULT Version ([out, retval] USHORT * aVersion);
-
- [propget] HRESULT PortVersion ([out, retval] USHORT * aPortVersion);
-
- [propget] HRESULT Remote ([out, retval] BOOL * aRemote);
-
- }; /* interface IUSBDevice */
-
- [
- uuid(833339b1-3f76-412c-a06e-dbb3fe060285),
- object,
- dual
- ]
- interface IUSBDeviceFilterEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IUSBDeviceFilter * * next);
-
-
- }; /* interface IUSBDeviceFilterEnumerator */
-
- [
- uuid(4fa3fc99-ceb1-4bf5-a9cb-e962d825c1ef),
- object,
- dual
- ]
- interface IUSBDeviceFilterCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IUSBDeviceFilter * * item);
-
- HRESULT Enumerate ([out, retval] IUSBDeviceFilterEnumerator * * enumerator);
-
-
- }; /* interface IUSBDeviceFilterCollection */
-
- [
- uuid(d6831fb4-1a94-4c2c-96ef-8d0d6192066d),
- object,
- dual
- ]
- interface IUSBDeviceFilter : IUnknown
- {
- [propget] HRESULT Name ([out, retval] BSTR * aName);
- [propput] HRESULT Name ([in] BSTR aName);
-
- [propget] HRESULT Active ([out, retval] BOOL * aActive);
- [propput] HRESULT Active ([in] BOOL aActive);
-
- [propget] HRESULT VendorId ([out, retval] BSTR * aVendorId);
- [propput] HRESULT VendorId ([in] BSTR aVendorId);
-
- [propget] HRESULT ProductId ([out, retval] BSTR * aProductId);
- [propput] HRESULT ProductId ([in] BSTR aProductId);
-
- [propget] HRESULT Revision ([out, retval] BSTR * aRevision);
- [propput] HRESULT Revision ([in] BSTR aRevision);
-
- [propget] HRESULT Manufacturer ([out, retval] BSTR * aManufacturer);
- [propput] HRESULT Manufacturer ([in] BSTR aManufacturer);
-
- [propget] HRESULT Product ([out, retval] BSTR * aProduct);
- [propput] HRESULT Product ([in] BSTR aProduct);
-
- [propget] HRESULT SerialNumber ([out, retval] BSTR * aSerialNumber);
- [propput] HRESULT SerialNumber ([in] BSTR aSerialNumber);
-
- [propget] HRESULT Port ([out, retval] BSTR * aPort);
- [propput] HRESULT Port ([in] BSTR aPort);
-
- [propget] HRESULT Remote ([out, retval] BSTR * aRemote);
- [propput] HRESULT Remote ([in] BSTR aRemote);
-
- [propget] HRESULT MaskedInterfaces ([out, retval] ULONG * aMaskedInterfaces);
- [propput] HRESULT MaskedInterfaces ([in] ULONG aMaskedInterfaces);
-
- }; /* interface IUSBDeviceFilter */
-
- [
- uuid(a0c55136-939f-4d20-b9d3-4d406f08bfa5),
- object,
- dual
- ]
- interface IHostUSBDeviceEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IHostUSBDevice * * next);
-
-
- }; /* interface IHostUSBDeviceEnumerator */
-
- [
- uuid(f9d3f96d-b027-4994-b589-70bb9ee0d364),
- object,
- dual
- ]
- interface IHostUSBDeviceCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IHostUSBDevice * * item);
-
- HRESULT Enumerate ([out, retval] IHostUSBDeviceEnumerator * * enumerator);
-
- HRESULT FindById (
- [in] GUID aId,
- [out, retval] IHostUSBDevice * * aDevice
- );
-
- HRESULT FindByAddress (
- [in] BSTR aName,
- [out, retval] IHostUSBDevice * * aDevice
- );
-
-
- }; /* interface IHostUSBDeviceCollection */
-
- [
- uuid(173b4b44-d268-4334-a00d-b6521c9a740a),
- object,
- dual
- ]
- interface IHostUSBDevice : IUSBDevice
- {
- [propget] HRESULT State ([out, retval] USBDeviceState * aState);
-
- }; /* interface IHostUSBDevice */
-
- [
- uuid(ff735211-903e-4642-9c37-189eb44579fe),
- object,
- dual
- ]
- interface IHostUSBDeviceFilterEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] IHostUSBDeviceFilter * * next);
-
-
- }; /* interface IHostUSBDeviceFilterEnumerator */
-
- [
- uuid(1a80458b-87f1-4a74-995d-04e2330119e0),
- object,
- dual
- ]
- interface IHostUSBDeviceFilterCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] IHostUSBDeviceFilter * * item);
-
- HRESULT Enumerate ([out, retval] IHostUSBDeviceFilterEnumerator * * enumerator);
-
-
- }; /* interface IHostUSBDeviceFilterCollection */
-
- [
- uuid(4cc70246-d74a-400f-8222-3900489c0374),
- object,
- dual
- ]
- interface IHostUSBDeviceFilter : IUSBDeviceFilter
- {
- [propget] HRESULT Action ([out, retval] USBDeviceFilterAction * aAction);
- [propput] HRESULT Action ([in] USBDeviceFilterAction aAction);
-
- }; /* interface IHostUSBDeviceFilter */
-
- [
- uuid(921873db-5f3f-4b69-91f9-7be9e535a2cb),
- object,
- dual
- ]
- interface IAudioAdapter : IUnknown
- {
- [propget] HRESULT Enabled ([out, retval] BOOL * aEnabled);
- [propput] HRESULT Enabled ([in] BOOL aEnabled);
-
- [propget] HRESULT AudioDriver ([out, retval] AudioDriverType * aAudioDriver);
- [propput] HRESULT AudioDriver ([in] AudioDriverType aAudioDriver);
-
- }; /* interface IAudioAdapter */
-
- [
- uuid(ed9d31ae-867f-45fc-b727-6740084d1883),
- object,
- dual
- ]
- interface IVRDPServer : IUnknown
- {
- [propget] HRESULT Enabled ([out, retval] BOOL * aEnabled);
- [propput] HRESULT Enabled ([in] BOOL aEnabled);
-
- [propget] HRESULT Port ([out, retval] ULONG * aPort);
- [propput] HRESULT Port ([in] ULONG aPort);
-
- [propget] HRESULT NetAddress ([out, retval] BSTR * aNetAddress);
- [propput] HRESULT NetAddress ([in] BSTR aNetAddress);
-
- [propget] HRESULT AuthType ([out, retval] VRDPAuthType * aAuthType);
- [propput] HRESULT AuthType ([in] VRDPAuthType aAuthType);
-
- [propget] HRESULT AuthTimeout ([out, retval] ULONG * aAuthTimeout);
- [propput] HRESULT AuthTimeout ([in] ULONG aAuthTimeout);
-
- [propget] HRESULT AllowMultiConnection ([out, retval] BOOL * aAllowMultiConnection);
- [propput] HRESULT AllowMultiConnection ([in] BOOL aAllowMultiConnection);
-
- }; /* interface IVRDPServer */
-
- [
- uuid(1d420fd8-e7c1-4511-abf4-a504dc6d0cbf),
- object,
- dual
- ]
- interface ISharedFolderEnumerator : IUnknown
- {
- HRESULT HasMore ([out, retval] BOOL * more);
-
- HRESULT GetNext ([out, retval] ISharedFolder * * next);
-
-
- }; /* interface ISharedFolderEnumerator */
-
- [
- uuid(9c7e2282-bb16-4fa7-9138-f383c5e02353),
- object,
- dual
- ]
- interface ISharedFolderCollection : IUnknown
- {
- [propget] HRESULT Count ([out, retval] ULONG * count);
-
- HRESULT GetItemAt ([in] ULONG index, [out, retval] ISharedFolder * * item);
-
- HRESULT Enumerate ([out, retval] ISharedFolderEnumerator * * enumerator);
-
- HRESULT FindByName (
- [in] BSTR aName,
- [out, retval] ISharedFolder * * aSharedFolder
- );
-
-
- }; /* interface ISharedFolderCollection */
-
- [
- uuid(8b0c5f70-9139-4f97-a421-64d5e9c335d5),
- object,
- dual
- ]
- interface ISharedFolder : IUnknown
- {
- [propget] HRESULT Name ([out, retval] BSTR * aName);
-
- [propget] HRESULT HostPath ([out, retval] BSTR * aHostPath);
-
- [propget] HRESULT Accessible ([out, retval] BOOL * aAccessible);
-
- }; /* interface ISharedFolder */
-
- [
- uuid(4cdd3403-4ce8-4b47-897c-db79e090aa29),
- object,
- dual
- ]
- interface IInternalSessionControl : IUnknown
- {
- HRESULT GetPID (
- [out, retval] ULONG * aPid
- );
-
- HRESULT GetRemoteConsole (
- [out, retval] IConsole * * aConsole
- );
-
- HRESULT AssignMachine (
- [in] IMachine * aMachine
- );
-
- HRESULT AssignRemoteMachine (
- [in] IMachine * aMachine,
- [in] IConsole * aConsole
- );
-
- HRESULT UpdateMachineState (
- [in] MachineState aAMachineState
- );
-
- HRESULT Uninitialize();
-
- HRESULT OnDVDDriveChange();
-
- HRESULT OnFloppyDriveChange();
-
- HRESULT OnNetworkAdapterChange (
- [in] INetworkAdapter * aNetworkAdapter
- );
-
- HRESULT OnSerialPortChange (
- [in] ISerialPort * aSerialPort
- );
-
- HRESULT OnParallelPortChange (
- [in] IParallelPort * aParallelPort
- );
-
- HRESULT OnVRDPServerChange();
-
- HRESULT OnUSBControllerChange();
-
- HRESULT OnSharedFolderChange (
- [in] BOOL aGlobal
- );
-
- HRESULT OnUSBDeviceAttach (
- [in] IUSBDevice * aDevice,
- [in] IVirtualBoxErrorInfo * aError,
- [in] ULONG aMaskedInterfaces
- );
-
- HRESULT OnUSBDeviceDetach (
- [in] GUID aId,
- [in] IVirtualBoxErrorInfo * aError
- );
-
- HRESULT OnShowWindow (
- [in] BOOL aCheck,
- [out] BOOL * aCanShow,
- [out] ULONG64 * aWinId
- );
-
- }; /* interface IInternalSessionControl */
-
- [
- uuid(12F4DCDB-12B2-4ec1-B7CD-DDD9F6C5BF4D),
- object,
- dual
- ]
- interface ISession : IDispatch
- {
- [propget] HRESULT State ([out, retval] SessionState * aState);
-
- [propget] HRESULT Type ([out, retval] SessionType * aType);
-
- [propget] HRESULT Machine ([out, retval] IMachine * * aMachine);
-
- [propget] HRESULT Console ([out, retval] IConsole * * aConsole);
-
- HRESULT Close();
-
- }; /* interface ISession */
-
- [
- uuid(B1A7A4F2-47B9-4A1E-82B2-07CCD5323C3F)
- ]
- coclass VirtualBox
- {
- [default] interface IVirtualBox;
-
- }; /* coclass VirtualBox */
-
- [
- uuid(3C02F46D-C9D2-4f11-A384-53F0CF917214)
- ]
- coclass Session
- {
- [default] interface ISession;
-
- }; /* coclass Session */
-
- }; /* library VirtualBox */
-
-